git.iko.soy/typeable/nixpkgs
on master help sign in
gambit: 4.8.8-f3ffeb6 -> 4.8.8-300db59
commit34739b3cc6c7dd9dde1d75c266f2a050035abbdc authorFrancois-Rene Rideau <fare@tunes.org> dateSat 8 Jul 2017, 09:58 (9 years ago) parent6558f81
2 files changed+16−17
pkgs/development/compilers/gambit/bootstrap.nix+1−1 pkgs/development/compilers/gambit/default.nix+15−16
pkgs/development/compilers/gambit/bootstrap.nix+1−1
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 buildInputs = [ autoconf ];
1414
1515 configurePhase = ''
16− ./configure --prefix=$out --enable-single-host
16+ ./configure --prefix=$out
1717 '';
1818
1919 buildPhase = ''
pkgs/development/compilers/gambit/default.nix+15−16
@@ -1,19 +1,16 @@
11{ stdenv, fetchurl, fetchgit, git, openssl, autoconf, pkgs }:
22
3+# TODO: distinct packages for gambit-release and gambit-devel
4+
35stdenv.mkDerivation rec {
46 name = "gambit-${version}";
5− version = "4.8.8-f3ffeb6";
7+ version = "4.8.8-300db59";
68 bootstrap = import ./bootstrap.nix ( pkgs );
79
8−# devver = "4_8_8";
9−# src = fetchurl {
10−# url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v${version}-devel.tgz";
11−# sha256 = "0j3ka76cfb007rlcc3nv5p1s6vh31cwp87hwwabawf16vs1jb7bl";
12−# };
1310 src = fetchgit {
1411 url = "https://github.com/feeley/gambit.git";
15− rev = "f3ffeb695aeea80c18c1b9ef276b57898c780dca";
16− sha256 = "1lqixsrgk9z2gj6z1nkys0pfd3m5zjxrp3gvqn2wpr9h7hjb8x06";
12+ rev = "300db59e1d3b66bcd597f617849df0274d2a4472";
13+ sha256 = "1mhy49lasakgvdaswkxasdssik11lx3hfx4h1gs2b6881488ssdp";
1714 };
1815
1916 buildInputs = [ openssl git autoconf bootstrap ];
@@ -28,6 +25,8 @@ stdenv.mkDerivation rec {
2825 --enable-absolute-shared-libs # Yes, NixOS will want an absolute path, and fix it.
2926 --enable-poll
3027 --enable-openssl
28+ --enable-default-runtime-options="f8,-8,t8" # Default to UTF-8 for source and all I/O
29+ #--enable-debug # Nope: enables plenty of good stuff, but also the costly console.log
3130
3231 #--enable-multiple-versions # Nope, NixOS already does version multiplexing
3332 #--enable-guide
@@ -49,15 +48,15 @@ stdenv.mkDerivation rec {
4948
5049 buildPhase = ''
5150 # Make bootstrap compiler, from release bootstrap
52− mkdir -p boot/wip-compiler &&
53− cp -rp ${bootstrap}/. boot/wip-compiler/. &&
51+ mkdir -p boot &&
52+ cp -rp ${bootstrap}/. boot/. &&
5453 chmod -R u+w boot &&
55− cd boot/wip-compiler && \
56− cp ../../gsc/makefile.in ../../gsc/*.scm gsc && \
57− (cd gsc && make bootclean ) &&
58− make bootstrap &&
59− cd ../.. &&
60− cp boot/wip-compiler/gsc/gsc gsc-boot &&
54+ cd boot &&
55+ cp ../gsc/makefile.in ../gsc/*.scm gsc && # */
56+ ./configure &&
57+ for i in lib gsi gsc ; do (cd $i ; make ) ; done &&
58+ cd .. &&
59+ cp boot/gsc/gsc gsc-boot &&
6160
6261 # Now use the bootstrap compiler to build the real thing!
6362 make -j2 from-scratch