nixpkgs/pkgs/development/interpreters/guile/default.nix
Ludovic Courtès df17eb0dc3 Guile: fix chroot build; make sure guile-snarf' sees gawk'; add a setup hook.
svn path=/nixpkgs/trunk/; revision=10636
2008-02-12 10:41:00 +00:00

20 lines
477 B
Nix

args: with args;
stdenv.mkDerivation {
name = "guile-1.8.3";
src = fetchurl {
url = ftp://ftp.gnu.org/gnu/guile/guile-1.8.3.tar.gz;
sha256 = "2ab59099cf2d46f57cf5421c9b84aa85f61961640046e8066c6b321257517796";
};
patches = [ ./snarf-tmpdir.patch ];
buildInputs = [ makeWrapper ];
propagatedBuildInputs = [readline libtool gmp gawk];
postInstall = ''
wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"
'';
setupHook = ./setup-hook.sh;
}