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
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user