libusb: get rid of systemd from library closures

This commit is contained in:
Vladimír Čunát 2015-04-19 00:48:52 +02:00
parent 92b968863a
commit de99ea8c8f
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,9 @@
stdenv.mkDerivation {
name = "libusb-compat-0.1.5";
outputs = [ "dev" "out" ]; # get rid of propagating systemd closure
outputBin = "dev";
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libusb1 ];

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0h38p9rxfpg9vkrbyb120i1diq57qcln82h5fr7hvy82c20jql3c";
};
outputs = [ "dev" "out" ]; # get rid of propagating systemd closure
buildInputs = [ pkgconfig ];
propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux udev;