mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libinput: move test dependencies to checkInputs
This avoids pulling them in when tests are disabled.
This commit is contained in:
parent
fdfde0324e
commit
de14f0c6e1
@ -45,12 +45,12 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig meson ninja ]
|
||||
++ optionals documentationSupport [ doxygen graphviz sphinx-build ]
|
||||
++ optionals testsSupport [ valgrind ];
|
||||
++ optionals documentationSupport [ doxygen graphviz sphinx-build ];
|
||||
|
||||
buildInputs = [ libevdev mtdev libwacom (python3.withPackages (pkgs: with pkgs; [ evdev ])) ]
|
||||
++ optionals eventGUISupport [ cairo glib gtk3 ]
|
||||
++ optionals testsSupport [ check ];
|
||||
buildInputs = [ libevdev mtdev libwacom ]
|
||||
++ optionals eventGUISupport [ cairo glib gtk3 ];
|
||||
|
||||
checkInputs = [ (python3.withPackages (pkgs: with pkgs; [ evdev ])) check valgrind ];
|
||||
|
||||
propagatedBuildInputs = [ udev ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user