about summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane/backends/brscan4/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/sane/backends/brscan4/default.nix')
-rw-r--r--pkgs/applications/graphics/sane/backends/brscan4/default.nix2
1 files changed, 1 insertions, 1 deletions
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