darwin purity: libusb1 (depend on udev on linux only)

This commit is contained in:
Jude Taylor 2015-06-26 09:53:28 -07:00
parent 616ed6ee15
commit 20268f6382
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,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
'';