25 lines
628 B
Nix
25 lines
628 B
Nix
{
|
|
pkgs ? import ./src/linux/nix/pkgs.nix,
|
|
}:
|
|
pkgs.mkShell {
|
|
packages = [
|
|
(pkgs.python3.withPackages (python: [ python.dbus-next python.pillow ]))
|
|
pkgs.dbus
|
|
pkgs.wayland-scanner
|
|
pkgs.clang-tools
|
|
pkgs.rustc
|
|
pkgs.cargo
|
|
pkgs.libpulseaudio
|
|
];
|
|
# NixOS does not put desktop libraries in the conventional loader search path.
|
|
# This affects running an unwrapped development executable, not compilation.
|
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
|
pkgs.wayland
|
|
pkgs.libglvnd
|
|
pkgs.libxkbcommon
|
|
pkgs.dbus.lib
|
|
];
|
|
|
|
UHA_PULSE_LIBRARY = "${pkgs.libpulseaudio}/lib/libpulse.so.0";
|
|
}
|