Hi all, attached are two patches:
1) to add mkcl, a common lisp implementation 2) to fix ecl, another common lisp implementation Would it be possible to get it committed? Thank you very much! Tomas
>From 716d6ad1b77aab67401cbde830ddb24930eea82a Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty <[email protected]> Date: Thu, 26 Mar 2015 23:49:58 +0100 Subject: [PATCH 1/2] mkcl added --- pkgs/development/compilers/mkcl/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/development/compilers/mkcl/default.nix diff --git a/pkgs/development/compilers/mkcl/default.nix b/pkgs/development/compilers/mkcl/default.nix new file mode 100644 index 0000000..689324a --- /dev/null +++ b/pkgs/development/compilers/mkcl/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, gmp }: + +stdenv.mkDerivation rec { + v = "1.1.9"; + name = "mkcl-${v}"; + + src = fetchgit { + url = "https://github.com/jcbeaudoin/mkcl.git"; + rev = "86768cc1dfc2cc9caa1fe9696584bb25ea6c1429"; + sha256 = "0ja7vyp5rjidb2a1gah35jqzqn6zjkikz5sd966p0f0wh26l6n03"; + }; + + propagatedBuildInputs = [ gmp ]; + + configureFlags = [ + "GMP_CFLAGS=-I${gmp}/include" + "GMP_LDFLAGS=-L${gmp}/lib" + ]; + + meta = { + description = "ANSI Common Lisp Implementation"; + homepage = https://common-lisp.net/project/mkcl/; + license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.linux; + }; +} -- 2.1.4
>From a84507b69ee630960def9058434f7ef4685469ff Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty <[email protected]> Date: Thu, 26 Mar 2015 23:53:19 +0100 Subject: [PATCH 2/2] fix ecl ensure that gmp is found when compiling with gcc dynamically unfortunately there is no configure flag for libffi, thus turning it off for now --- pkgs/development/compilers/ecl/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index be65061..d1991d6 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -27,6 +27,8 @@ stdenv.mkDerivation { }; configureFlags = [ "--enable-threads" + "--with-gmp-prefix=${gmp}" + "--with-dffi=no" ] ++ (stdenv.lib.optional (! noUnicode) -- 2.1.4
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
