mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-23 06:19:00 +00:00
shells/gtk: init shell
This commit is contained in:
parent
7a992b6531
commit
6ad3fdc88b
@ -7,6 +7,8 @@ with pkgs; {
|
||||
nix = callPackage ./nix.nix { };
|
||||
guile = callPackage ./guile.nix { };
|
||||
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 { };
|
||||
rust = callPackage ./rust.nix { };
|
||||
tic-80 = callPackage ./tic-80.nix { };
|
||||
|
30
shells/gtk.nix
Normal file
30
shells/gtk.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user