From 82d2960f15942bdf8594a400d70ca907e5b23647 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 15 Jul 2015 10:29:51 +0200 Subject: [PATCH] libusb1: fix on darwin --- pkgs/development/libraries/libusb1/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libusb1/default.nix b/pkgs/development/libraries/libusb1/default.nix index 160e53714fb1..5fb9d5460ac7 100644 --- a/pkgs/development/libraries/libusb1/default.nix +++ b/pkgs/development/libraries/libusb1/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; - preFixup = '' + preFixup = stdenv.lib.optionalString stdenv.isLinux '' sed 's,-ludev,-L${udev}/lib -ludev,' -i $out/lib/libusb-1.0.la '';