guile: add effectiveVersion and site{Ccache,}Dir
This commit is contained in:
parent
672efa6939
commit
2cceb70b13
@ -86,6 +86,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
setupHook = ./setup-hook-1.8.sh;
|
||||
|
||||
passthru = {
|
||||
effectiveVersion = lib.versions.majorMinor version;
|
||||
siteCcacheDir = "lib/guile/site-ccache";
|
||||
siteDir = "share/guile/site";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.gnu.org/software/guile/";
|
||||
description = "Embeddable Scheme implementation";
|
||||
|
@ -133,6 +133,12 @@ builder rec {
|
||||
|
||||
setupHook = ./setup-hook-2.0.sh;
|
||||
|
||||
passthru = rec {
|
||||
effectiveVersion = lib.versions.majorMinor version;
|
||||
siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache";
|
||||
siteDir = "share/guile/site/${effectiveVersion}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.gnu.org/software/guile/";
|
||||
description = "Embeddable Scheme implementation";
|
||||
|
@ -124,6 +124,12 @@ builder rec {
|
||||
|
||||
setupHook = ./setup-hook-2.2.sh;
|
||||
|
||||
passthru = rec {
|
||||
effectiveVersion = lib.versions.majorMinor version;
|
||||
siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache";
|
||||
siteDir = "share/guile/site/${effectiveVersion}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.gnu.org/software/guile/";
|
||||
description = "Embeddable Scheme implementation";
|
||||
|
@ -127,7 +127,11 @@ builder rec {
|
||||
|
||||
setupHook = ./setup-hook-3.0.sh;
|
||||
|
||||
passthru = {
|
||||
passthru = rec {
|
||||
effectiveVersion = lib.versions.majorMinor version;
|
||||
siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache";
|
||||
siteDir = "share/guile/site/${effectiveVersion}";
|
||||
|
||||
updateScript = writeScript "update-guile-3" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pcre common-updater-scripts
|
||||
|
Loading…
Reference in New Issue
Block a user