From 8a06db38df861e826335e2d0b319279dcdd8f7a5 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 23 Aug 2016 04:36:16 +0300 Subject: [PATCH] treewide: Fix output references to libusb --- pkgs/applications/graphics/sane/backends/brscan4/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/sane/backends/brscan4/default.nix b/pkgs/applications/graphics/sane/backends/brscan4/default.nix index 8561c2a4ccf6..063d0f13faf9 100644 --- a/pkgs/applications/graphics/sane/backends/brscan4/default.nix +++ b/pkgs/applications/graphics/sane/backends/brscan4/default.nix @@ -28,7 +28,7 @@ in stdenv.mkDerivation rec { patchPhase = '' ${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"} - RPATH=${libusb}/lib + RPATH=${libusb.out}/lib for a in usr/lib64/sane/*.so*; do if ! test -L $a; then patchelf --set-rpath $RPATH $a