20 lines
508 B
Nix
20 lines
508 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
|
|
];
|
|
# 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
|
|
];
|
|
}
|