diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-30 04:33:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-30 04:33:53 +0300 |
commit | 41ab3d4bd52e365a9b893a61d06a9033852f5680 (patch) | |
tree | 673ab54c0049a5dcd84c2decfea4e11f8f04746c /pkgs/development/compilers | |
parent | 26d51c8bb45a05fb4c2bf69d4dba4c5b263f846a (diff) | |
parent | afd198f0f49c3b0172bb12133321f3fa38595199 (diff) | |
download | nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar.gz nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar.bz2 nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar.lz nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar.xz nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.tar.zst nixlib-41ab3d4bd52e365a9b893a61d06a9033852f5680.zip |
Merge pull request #33100 from olynch/mitschemeX11
mitschemeX11: init at 9.2
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/mit-scheme/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix index 076f3c956750..4670f39eac18 100644 --- a/pkgs/development/compilers/mit-scheme/default.nix +++ b/pkgs/development/compilers/mit-scheme/default.nix @@ -1,4 +1,5 @@ -{ fetchurl, stdenv, makeWrapper, gnum4, texinfo, texLive, automake }: +{ fetchurl, stdenv, makeWrapper, gnum4, texinfo, texLive, automake, + enableX11 ? false, xlibsWrapper ? null }: let version = "9.2"; @@ -9,7 +10,7 @@ let else ""; in stdenv.mkDerivation { - name = "mit-scheme-${version}"; + name = if enableX11 then "mit-scheme-x11-${version}" else "mit-scheme-${version}"; # MIT/GNU Scheme is not bootstrappable, so it's recommended to compile from # the platform-specific tarballs, which contain pre-built binaries. It @@ -29,6 +30,8 @@ stdenv.mkDerivation { sha256 = "0w5ib5vsidihb4hb6fma3sp596ykr8izagm57axvgd6lqzwicsjg"; }; + buildInputs = if enableX11 then [xlibsWrapper] else []; + configurePhase = '' (cd src && ./configure) (cd doc && ./configure) |