libratbag: fix meson/python compatibility
This commit is contained in:
parent
a5af84ef2c
commit
927a82d60f
1 changed files with 4 additions and 5 deletions
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue