about summary refs log tree commit diff
path: root/pkgs/top-level/python-packages.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-01-24 09:29:44 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-01-24 10:03:36 +0200
commit69498299dd681fe773b474c3dec2d9b5bec468f0 (patch)
treeeb26fa5fed098e3ac5fb03cf3ebf752355dad12d /pkgs/top-level/python-packages.nix
parent3916cf476b363e072b27b25b86f5c8f706222e86 (diff)
downloadnixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar.gz
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar.bz2
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar.lz
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar.xz
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.tar.zst
nixlib-69498299dd681fe773b474c3dec2d9b5bec468f0.zip
treewide: Mass replace 'libusb1}/lib' to refer the 'out' output
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r--pkgs/top-level/python-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 171a5f8b8ad8..289fec567f57 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -22018,7 +22018,7 @@ in modules // {
 
     # Fix the USB backend library lookup
     postPatch = ''
-      libusb=${pkgs.libusb1}/lib/libusb-1.0.so
+      libusb=${pkgs.libusb1.out}/lib/libusb-1.0.so
       test -f $libusb || { echo "ERROR: $libusb doesn't exist, please update/fix this build expression."; exit 1; }
       sed -i -e "s|libname = .*|libname = \"$libusb\"|" usb/backend/libusb1.py
     '';