SBCL: bump to unstable to include upstream fixes for bugs breaking iolib

This commit is contained in:
Michael Raskin 2017-11-05 15:25:54 +01:00
parent b032b3544f
commit cdbe4671be

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, writeText, sbclBootstrap
{ stdenv, fetchurl, fetchgit, writeText, sbclBootstrap
, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit"
, threadSupport ? (stdenv.isi686 || stdenv.isx86_64 || "aarch64-linux" == stdenv.system)
# Meant for sbcl used for creating binaries portable to non-NixOS via save-lisp-and-die.
@ -9,11 +9,16 @@
stdenv.mkDerivation rec {
name = "sbcl-${version}";
version = "1.4.1";
version = "1.4.1.0.20171104";
src = fetchurl {
url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
sha256 = "1qdaf847g5p2zgq00ax5hdy4r82bl3ss382psd0kkca1h83cdiz8";
#src = fetchurl {
# url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
# sha256 = "1qdaf847g5p2zgq00ax5hdy4r82bl3ss382psd0kkca1h83cdiz8";
#};
src = fetchgit {
url = "https://git.code.sf.net/p/sbcl/sbcl";
sha256 = "1fq34h8h8pax5q17w84kwv5amiaag3ikkq3cdmb31r64736mxi6r";
rev = "11aa57d23bc464d6a6867a80e946907404ceadd1";
};
patchPhase = ''
@ -35,7 +40,7 @@ stdenv.mkDerivation rec {
# SBCL checks whether files are up-to-date in many places..
# Unfortunately, same timestamp is not good enough
sed -e 's@> x y@>= x y@' -i contrib/sb-aclrepl/repl.lisp
sed -e '/(date)/i((= date 2208988801) 2208988800)' -i contrib/asdf/asdf.lisp
#sed -e '/(date)/i((= date 2208988801) 2208988800)' -i contrib/asdf/asdf.lisp
sed -i src/cold/slam.lisp -e \
'/file-write-date input/a)'
sed -i src/cold/slam.lisp -e \