mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +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 { };
|
nix = callPackage ./nix.nix { };
|
||||||
go = callPackage ./go.nix { };
|
go = callPackage ./go.nix { };
|
||||||
guile = callPackage ./guile.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; };
|
gtk3 = callPackage ./gtk.nix { gtk = gtk3; libportal-gtk = libportal-gtk3; };
|
||||||
gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; };
|
gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; };
|
||||||
hugo = callPackage ./hugo.nix { };
|
hugo = callPackage ./hugo.nix { };
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{ mkShell
|
{ mkShell
|
||||||
, lib
|
, lib
|
||||||
|
, gcc
|
||||||
|
, gettext
|
||||||
|
, pkg-config
|
||||||
|
, texinfo
|
||||||
, guile
|
, guile
|
||||||
, guile-hall
|
, guile-hall
|
||||||
}:
|
}:
|
||||||
@ -10,17 +14,12 @@ in
|
|||||||
mkShell {
|
mkShell {
|
||||||
inherit guileVersion;
|
inherit guileVersion;
|
||||||
packages = [
|
packages = [
|
||||||
|
gettext
|
||||||
guile
|
guile
|
||||||
guile-hall
|
guile-hall
|
||||||
|
pkg-config
|
||||||
|
texinfo
|
||||||
];
|
];
|
||||||
|
|
||||||
# This is already properly exported through setup hooks but to make
|
inputsFrom = [ gcc guile ];
|
||||||
# intentions clearer.
|
|
||||||
shellHook = ''
|
|
||||||
export GUILE_LOAD_PATH GUILE_LOAD_COMPILED_PATH
|
|
||||||
|
|
||||||
if test $guileVersion == "3.0"; then
|
|
||||||
export GUILE_EXTENSIONS_PATH
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user