about summary refs log tree commit diff
path: root/pkgs/development/compilers/mit-scheme
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-09-15 05:38:03 +0300
committerArtturin <Artturin@artturin.com>2021-09-15 05:38:03 +0300
commite9afd04202c745a0a251a530634e122d92550c2a (patch)
treef3c9481e206adcf0064dcb7b21044798dc140c6e /pkgs/development/compilers/mit-scheme
parentb5afec62d5e81c6b4d79e7a79e483efb246b3147 (diff)
mit-scheme: set MITSCHEME_LIBRARY_PATH properly
by changing its path and wrapping the correct binary
all the other binaries in bin/ are symlinks to bin/mit-scheme${arch}-${version}
therefore its easier to just wrap that one instead of all the others
Diffstat (limited to 'pkgs/development/compilers/mit-scheme')
-rw-r--r--pkgs/development/compilers/mit-scheme/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix
index e7098abb60af5..c67f8d2f72ff3 100644
--- a/pkgs/development/compilers/mit-scheme/default.nix
+++ b/pkgs/development/compilers/mit-scheme/default.nix
@@ -62,10 +62,10 @@ stdenv.mkDerivation {
     runHook postInstall
   '';
 
-  postFixup =
-    '' wrapProgram $out/bin/mit-scheme${arch} --set MITSCHEME_LIBRARY_PATH \
-         $out/lib/mit-scheme${arch}
-    '';
+  postFixup = ''
+    wrapProgram $out/bin/mit-scheme${arch}-${version} --set MITSCHEME_LIBRARY_PATH \
+      $out/lib/mit-scheme${arch}-${version}
+  '';
 
   nativeBuildInputs = [ makeWrapper gnum4 texinfo texLive automake ghostscript autoconf libtool ];