3
0
Fork 0
forked from mirrors/nixpkgs

Merge #10229: update and fix sbcl and cmucl

And related changes.
This commit is contained in:
Vladimír Čunát 2015-10-09 18:45:56 +02:00
commit 3077bdfd71
6 changed files with 30 additions and 7 deletions

View file

@ -2,7 +2,7 @@
let
inherit (stdenv) system;
version = "20b";
version = "21a";
downloadUrl = arch:
"http://common-lisp.net/project/cmucl/downloads/release/" +
"${version}/cmucl-${version}-${arch}.tar.bz2";
@ -13,7 +13,7 @@ let
dist =
if system == "i686-linux" then fetchDist {
arch = "x86-linux";
sha256 = "1s00r1kszk5zhmv7m8z5q2wcqjn2gn7fbqwji3hgnsdvbb1f3jdn";
sha256 = "0w8dcaiasfd4fbj340zaf6wcjfgc4wzkvr24gbxa5rr3aw10rl02";
}
else throw "Unsupported platform for cmucl.";
in

View file

@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
--add-flags "--core $out/share/sbcl/sbcl.core"
'';
postFixup = stdenv.lib.optionalString (!stdenv.isArm) ''
postFixup = stdenv.lib.optionalString (!stdenv.isArm && stdenv.isLinux) ''
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/share/sbcl/sbcl
'';

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "sbcl-${version}";
version = "1.2.15";
version = "1.2.16";
src = fetchurl {
url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
sha256 = "0l8nrf5qnr8c9hr6bn1kd86mnr2s37b493azh9rrk3v59f56wnnr";
sha256 = "08bg99dhjpvfi3fg4ak6c8kcrfb2ssdsfwwj46nfwniq0jmavacf";
};
buildInputs = [ which ];

View file

@ -0,0 +1,21 @@
{ stdenv, fetchurl, libffcall, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
v = "2.3.1";
name = "gtk-server-${v}";
src = fetchurl {
url = "mirror://sourceforge/gtk-server/${name}-sr.tar.gz";
sha256 = "0z8ng5rhxc7fpsj3d50h25wkgcnxjfy030jm8r9w9m729w2c9hxb";
};
buildInputs = [ libffcall gtk2 pkgconfig ];
configureOptions = [ "--with-gtk2" ];
meta = {
description = "gtk-server for interpreted GUI programming";
homepage = "http://www.gtk-server.org/";
license = stdenv.lib.licenses.gpl2Plus;
};
}

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
cat >"$out/bin/pil" <<EOF
#! /bin/sh
$out/bin/picolisp $out/lib/picolisp/lib.l @lib/misc.l @lib/btree.l @lib/db.l @lib/pilog.l
exec $out/bin/picolisp $out/lib/picolisp/lib.l @lib/misc.l @lib/btree.l @lib/db.l @lib/pilog.l
EOF
chmod +x "$out/bin/pil"

View file

@ -3719,7 +3719,7 @@ let
closurecompiler = callPackage ../development/compilers/closure { };
cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { };
cmucl_binary = callPackage_i686 ../development/compilers/cmucl/binary.nix { };
compcert = callPackage ../development/compilers/compcert (
if system == "x86_64-linux"
@ -4003,6 +4003,8 @@ let
gforth = callPackage ../development/compilers/gforth {};
gtk-server = callPackage ../development/interpreters/gtk-server {};
# Haskell and GHC
haskell = callPackage ./haskell-packages.nix { };