Merge pull request #87200 from B4dM4n/libusb-no-systemd
libusb1: fix enableSystemd=false build
This commit is contained in:
commit
60258be0f4
1 changed files with 1 additions and 3 deletions
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0mxbpg01kgbk5nh6524b0m4xk7ywkyzmc3yhi5asqcsd3rbhjj98";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ]; # get rid of propagating systemd closure
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
propagatedBuildInputs =
|
||||
|
@ -31,8 +31,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
dontDisableStatic = withStatic;
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
configureFlags = stdenv.lib.optional (!enableSystemd) "--disable-udev";
|
||||
|
||||
preFixup = stdenv.lib.optionalString enableSystemd ''
|
||||
|
|
Loading…
Reference in a new issue