nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

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

authored by

Sandro and committed by
GitHub
564fb910 cba9a575

+4 -5
+4 -5
pkgs/development/libraries/libusb-compat/0.1.nix
··· 2 2 , lib 3 3 , fetchFromGitHub 4 4 , autoreconfHook 5 - , patchelf 6 5 , pkg-config 7 6 , libusb1 8 7 }: ··· 13 14 outputs = [ "out" "dev" ]; # get rid of propagating systemd closure 14 15 outputBin = "dev"; 15 16 16 - nativeBuildInputs = [ autoreconfHook patchelf pkg-config ]; 17 - 18 - buildInputs = [ libusb1 ]; 19 - 20 17 src = fetchFromGitHub { 21 18 owner = "libusb"; 22 19 repo = "libusb-compat-0.1"; ··· 21 26 }; 22 27 23 28 patches = lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch; 29 + 30 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 31 + 32 + buildInputs = [ libusb1 ]; 24 33 25 34 # without this, libusb-compat is unable to find libusb1 26 35 postFixup = ''