git.iko.soy/typeable/nixpkgs
on master help sign in
SBCL: bump to unstable to include upstream fixes for bugs breaking iolib
cdbe467Michael Raskin
pkgs/development/compilers/sbcl/default.nix+11−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, writeText, sbclBootstrap
1+{ stdenv, fetchurl, fetchgit, writeText, sbclBootstrap
2, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit"
2, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit"
3, threadSupport ? (stdenv.isi686 || stdenv.isx86_64 || "aarch64-linux" == stdenv.system)
3, threadSupport ? (stdenv.isi686 || stdenv.isx86_64 || "aarch64-linux" == stdenv.system)
4 # Meant for sbcl used for creating binaries portable to non-NixOS via save-lisp-and-die.
4 # Meant for sbcl used for creating binaries portable to non-NixOS via save-lisp-and-die.
@@ -9,11 +9,16 @@
9
9
10stdenv.mkDerivation rec {
10stdenv.mkDerivation rec {
11 name = "sbcl-${version}";
11 name = "sbcl-${version}";
12− version = "1.4.1";
12+ version = "1.4.1.0.20171104";
13
13
14− src = fetchurl {
14+ #src = fetchurl {
15− url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
15+ # url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
16− sha256 = "1qdaf847g5p2zgq00ax5hdy4r82bl3ss382psd0kkca1h83cdiz8";
16+ # sha256 = "1qdaf847g5p2zgq00ax5hdy4r82bl3ss382psd0kkca1h83cdiz8";
17+ #};
18+ src = fetchgit {
19+ url = "https://git.code.sf.net/p/sbcl/sbcl";
20+ sha256 = "1fq34h8h8pax5q17w84kwv5amiaag3ikkq3cdmb31r64736mxi6r";
21+ rev = "11aa57d23bc464d6a6867a80e946907404ceadd1";
17 };
22 };
18
23
19 patchPhase = ''
24 patchPhase = ''
@@ -35,7 +40,7 @@ stdenv.mkDerivation rec {
35 # SBCL checks whether files are up-to-date in many places..
40 # SBCL checks whether files are up-to-date in many places..
36 # Unfortunately, same timestamp is not good enough
41 # Unfortunately, same timestamp is not good enough
37 sed -e 's@> x y@>= x y@' -i contrib/sb-aclrepl/repl.lisp
42 sed -e 's@> x y@>= x y@' -i contrib/sb-aclrepl/repl.lisp
38− sed -e '/(date)/i((= date 2208988801) 2208988800)' -i contrib/asdf/asdf.lisp
43+ #sed -e '/(date)/i((= date 2208988801) 2208988800)' -i contrib/asdf/asdf.lisp
39 sed -i src/cold/slam.lisp -e \
44 sed -i src/cold/slam.lisp -e \
40 '/file-write-date input/a)'
45 '/file-write-date input/a)'
41 sed -i src/cold/slam.lisp -e \
46 sed -i src/cold/slam.lisp -e \