git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs: chez-scheme 9.4-20160501 -> 9.4-20160507

This allows us to remove a hack in the makefile, fixes a few bugs, and also catches another edge case in the configure scripts. Signed-off-by: Austin Seipp <aseipp@pobox.com>

commite3e27ecf4e512e46ce7c9c13aa22c8d5d819bf85 authorAustin Seipp <aseipp@pobox.com> dateSun 8 May 2016, 03:40 (11 years ago) parentea9f28a
1 file changed+10−17
pkgs/development/compilers/chez/default.nix+10−17
pkgs/development/compilers/chez/default.nix+10−17
@@ -3,39 +3,32 @@
33stdenv.mkDerivation rec {
44 name = "chez-scheme-${version}";
55 version = "9.4-${dver}";
6− dver = "20160501";
6+ dver = "20160507";
77
88 src = fetchgit {
99 url = "https://github.com/cisco/chezscheme.git";
10− rev = "8343b7172532a00d2d19914206fcf83c93798c80";
11− sha256 = "1jq55sdk468lckccfnqh0iv868bhw6yb9ba9bakqg2pfydb8r4qf";
10+ rev = "65df1d1f7c37f5b5a93cd7e5b475dda9dbafe03c";
11+ sha256 = "024x79xcdqp665xjyccpn02w6dmdvnhw0h0vdc42g9s5wv5ry92m";
1212 fetchSubmodules = true;
1313 };
1414
1515 enableParallelBuilding = true;
1616 buildInputs = [ ncurses libX11 ];
1717
18− /* Chez uses a strange default search path, which completely
19− ** ignores the installation prefix for some reason, and instead
20− ** defaults to {/usr,/usr/local,$HOME}/lib for finding the .boot
21− ** file.
18+ /* We patch out a very annoying 'feature' in ./configure, which
19+ ** tries to use 'git' to update submodules.
2220 **
23− ** Also, we patch out a very annoying 'feature' in ./configure, too,
24− ** which tries to use 'git' to update submodules.
25− **
26− ** Finally, we have to also fix a few occurrences to tools with
27− ** absolute paths in some helper scripts, otherwise the build will
28− ** fail on NixOS or in any chroot build.
21+ ** We have to also fix a few occurrences to tools with absolute
22+ ** paths in some helper scripts, otherwise the build will fail on
23+ ** NixOS or in any chroot build.
2924 */
3025 patchPhase = ''
31− substituteInPlace ./c/scheme.c \
32− --replace "/usr/lib/csv" "$out/lib/csv"
33−
3426 substituteInPlace ./configure \
3527 --replace "git submodule init && git submodule update || exit 1" ""
3628
3729 substituteInPlace ./workarea \
38− --replace "/bin/ln" "${coreutils}/bin/ln"
30+ --replace "/bin/ln" "${coreutils}/bin/ln" \
31+ --replace "/bin/cp" "${coreutils}/bin/cp"
3932
4033 substituteInPlace ./makefiles/installsh \
4134 --replace "/usr/bin/true" "${coreutils}/bin/true"