diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-02-24 20:03:40 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-03-05 20:40:45 -0500 |
commit | de14f0c6e1247aa48b0d77c4a3390a61e020bebf (patch) | |
tree | 43010f3cd8f1566d4a789a75907f7de016242652 /pkgs/development/libraries/libinput | |
parent | fdfde0324e967f0c727a8c59ec71b1d81dc9fefb (diff) |
libinput: move test dependencies to checkInputs
This avoids pulling them in when tests are disabled.
Diffstat (limited to 'pkgs/development/libraries/libinput')
-rw-r--r-- | pkgs/development/libraries/libinput/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libinput/default.nix b/pkgs/development/libraries/libinput/default.nix index 2c84379aa8e57..46f318a776a83 100644 --- a/pkgs/development/libraries/libinput/default.nix +++ b/pkgs/development/libraries/libinput/default.nix @@ -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 ]; |