libusb-compat-0_1: remove patchelf from nativeBuildInputs as it is includ… (#190201)

main
Sandro 2 years ago committed by GitHub
parent cba9a57562
commit 564fb91065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      pkgs/development/libraries/libusb-compat/0.1.nix

@ -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…
Cancel
Save