summary refs log tree commit diff
path: root/pkgs/applications/editors/texmacs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/texmacs')
-rw-r--r--pkgs/applications/editors/texmacs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/texmacs/default.nix b/pkgs/applications/editors/texmacs/default.nix
index e415239d76fb..e51813459c6f 100644
--- a/pkgs/applications/editors/texmacs/default.nix
+++ b/pkgs/applications/editors/texmacs/default.nix
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
   postFixup = ''
     bin="$out/libexec/TeXmacs/bin/texmacs.bin"
     rpath=$(patchelf --print-rpath "$bin")
-    patchelf --set-rpath "$rpath:${zlib}/lib" "$bin"
+    patchelf --set-rpath "$rpath:${zlib.out}/lib" "$bin"
   '';
 
   meta = {