From 65b252a0df7591c0b66497474051f84e135ed5bd Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 16 Jun 2008 14:27:26 +0000 Subject: [PATCH] Patched Guile to load srfi .so files correctly from its own directory. svn path=/nixpkgs/trunk/; revision=12120 --- pkgs/development/interpreters/guile/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix index 0c3aeb07a1e1..5a5df9eed3ef 100644 --- a/pkgs/development/interpreters/guile/default.nix +++ b/pkgs/development/interpreters/guile/default.nix @@ -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;