shells/gtk: init shell

This commit is contained in:
Gabriel Arazas 2022-09-15 22:36:04 +08:00
parent 7a992b6531
commit 6ad3fdc88b
2 changed files with 32 additions and 0 deletions

View File

@ -7,6 +7,8 @@ with pkgs; {
nix = callPackage ./nix.nix { }; nix = callPackage ./nix.nix { };
guile = callPackage ./guile.nix { }; guile = callPackage ./guile.nix { };
guile3 = callPackage ./guile.nix { guile = guile_3_0; }; guile3 = callPackage ./guile.nix { guile = guile_3_0; };
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 { }; hugo = callPackage ./hugo.nix { };
rust = callPackage ./rust.nix { }; rust = callPackage ./rust.nix { };
tic-80 = callPackage ./tic-80.nix { }; tic-80 = callPackage ./tic-80.nix { };

30
shells/gtk.nix Normal file
View File

@ -0,0 +1,30 @@
{ mkShell
, wrapGAppsHook
, desktop-file-utils
, glib
, appstream-glib
, blueprint-compiler
, libadwaita
, libportal
, libportal-gtk
, gtk
}:
mkShell {
packages = [
# Most of the build inputs are from `gtk` package. And since build
# environment of the following packages is brought with `nix develop`, we
# don't need to list much of the common build systems like Meson.
wrapGAppsHook
gtk
glib
appstream-glib
desktop-file-utils
blueprint-compiler
libadwaita
libportal
libportal-gtk
];
}