From 4ee219ef8ebf8f3b60106156d2f6a81a156b25fe Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau Date: Mon, 23 Dec 2019 17:35:10 -0500 Subject: [PATCH] gerbil-unstable: 2019-11-15 -> 2020-02-27 Let Gerbil Scheme find its GERBIL_HOME where Nix put it when the environment variable is left unspecified. Comment out work in progress for static linking. Notes about working on macOS. --- pkgs/development/compilers/gerbil/build.nix | 37 ++++++++++++------- .../development/compilers/gerbil/unstable.nix | 8 ++-- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/pkgs/development/compilers/gerbil/build.nix b/pkgs/development/compilers/gerbil/build.nix index e2ab0976482..21c2936fa0f 100644 --- a/pkgs/development/compilers/gerbil/build.nix +++ b/pkgs/development/compilers/gerbil/build.nix @@ -3,9 +3,6 @@ openssl, zlib, sqlite, libxml2, libyaml, libmysqlclient, lmdb, leveldb, postgresql, version, git-version, gambit, src }: -# TODO: distinct packages for gerbil-release and gerbil-devel -# TODO: make static compilation work - stdenv.mkDerivation rec { pname = "gerbil"; inherit version; @@ -32,19 +29,23 @@ stdenv.mkDerivation rec { substituteInPlace "$f" --replace '"gsc"' '"${gambit}/bin/gsc"' done substituteInPlace "etc/gerbil.el" --replace '"gxc"' "\"$out/bin/gxc\"" +''; - cat > etc/gerbil_static_libraries.sh < etc/gerbil_static_libraries.sh <