forked from mirrors/nixpkgs
Patched Guile to load srfi .so files correctly from its own directory.
svn path=/nixpkgs/trunk/; revision=12120
This commit is contained in:
parent
442218cf2c
commit
65b252a0df
|
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||
wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
sed -e '/lt_dlinit/a lt_dladdsearchdir("'$out/lib'");' -i libguile/dynl.c
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
|
Loading…
Reference in a new issue