diff --git a/pkgs/os-specific/linux/libratbag/default.nix b/pkgs/os-specific/linux/libratbag/default.nix index 271dc156695a..c614b39255d6 100644 --- a/pkgs/os-specific/linux/libratbag/default.nix +++ b/pkgs/os-specific/linux/libratbag/default.nix @@ -12,15 +12,14 @@ stdenv.mkDerivation rec { sha256 = "0cr5skrb7a5mgj7dkm647ib8336hb88bf11blaf6xldafi8b0jlj"; }; - - # todo: python should be in buildInputs, but right now meson propagates - # its own python. see: https://github.com/NixOS/nixpkgs/pull/46020 nativeBuildInputs = [ - (python3.withPackages (ps: with ps; [ evdev pygobject3 ])) meson ninja pkgconfig gitMinimal swig check valgrind ]; - buildInputs = [ glib systemd udev libevdev ]; + buildInputs = [ + glib systemd udev libevdev + (python3.withPackages (ps: with ps; [ evdev pygobject3 ])) + ]; mesonFlags = [ "-Dsystemd-unit-dir=./lib/systemd/system/"