3
0
Fork 0
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:
Michael Raskin 2008-06-16 14:27:26 +00:00
parent 442218cf2c
commit 65b252a0df

View file

@ -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;