Skip to content

Commit

Permalink
libratbag: fix meson/python compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Nov 11, 2018
1 parent e9db248 commit 25aaecf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkgs/os-specific/linux/libratbag/default.nix
Expand Up @@ -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/"
Expand Down

0 comments on commit 25aaecf

Please sign in to comment.