mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
shells/guile: update with Guile 3 as default
This commit is contained in:
parent
02bcc27795
commit
cc6b3cdcd0
@ -8,7 +8,7 @@ with pkgs; {
|
||||
nix = callPackage ./nix.nix { };
|
||||
go = callPackage ./go.nix { };
|
||||
guile = callPackage ./guile.nix { };
|
||||
guile3 = callPackage ./guile.nix { guile = guile_3_0; };
|
||||
guile2 = callPackage ./guile.nix { guile = guile_2_2; };
|
||||
gtk3 = callPackage ./gtk.nix { gtk = gtk3; libportal-gtk = libportal-gtk3; };
|
||||
gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; };
|
||||
hugo = callPackage ./hugo.nix { };
|
||||
|
@ -1,5 +1,9 @@
|
||||
{ mkShell
|
||||
, lib
|
||||
, gcc
|
||||
, gettext
|
||||
, pkg-config
|
||||
, texinfo
|
||||
, guile
|
||||
, guile-hall
|
||||
}:
|
||||
@ -10,17 +14,12 @@ in
|
||||
mkShell {
|
||||
inherit guileVersion;
|
||||
packages = [
|
||||
gettext
|
||||
guile
|
||||
guile-hall
|
||||
pkg-config
|
||||
texinfo
|
||||
];
|
||||
|
||||
# This is already properly exported through setup hooks but to make
|
||||
# intentions clearer.
|
||||
shellHook = ''
|
||||
export GUILE_LOAD_PATH GUILE_LOAD_COMPILED_PATH
|
||||
|
||||
if test $guileVersion == "3.0"; then
|
||||
export GUILE_EXTENSIONS_PATH
|
||||
fi
|
||||
'';
|
||||
inputsFrom = [ gcc guile ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user