Compile libusb with gccApple on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-06-11 17:30:36 +10:00
parent 4fe22e28cb
commit 593228f18d

View File

@ -4636,7 +4636,11 @@ let
libunique = callPackage ../development/libraries/libunique/default.nix { };
libusb = callPackage ../development/libraries/libusb { };
libusb = callPackage ../development/libraries/libusb {
stdenv = if stdenv.isDarwin
then overrideGCC stdenv gccApple
else stdenv;
};
libusb1 = callPackage ../development/libraries/libusb1 { };