From e9afd04202c745a0a251a530634e122d92550c2a Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 15 Sep 2021 05:38:03 +0300 Subject: [PATCH] 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 --- pkgs/development/compilers/mit-scheme/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix index e7098abb60af..c67f8d2f72ff 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 ];