libusb-compat-0_1: remove patchelf from nativeBuildInputs as it is includ… (#190201)
This commit is contained in:
parent
cba9a57562
commit
564fb91065
@ -2,7 +2,6 @@
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, patchelf
|
||||
, pkg-config
|
||||
, libusb1
|
||||
}:
|
||||
@ -14,10 +13,6 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ]; # get rid of propagating systemd closure
|
||||
outputBin = "dev";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook patchelf pkg-config ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libusb";
|
||||
repo = "libusb-compat-0.1";
|
||||
@ -27,6 +22,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
# without this, libusb-compat is unable to find libusb1
|
||||
postFixup = ''
|
||||
find $out/lib -name \*.so\* -type f -exec \
|
||||
|
Loading…
Reference in New Issue
Block a user