mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
Add gnome
devshell
This commit is contained in:
parent
cc9b9580f9
commit
320aba635e
@ -3,6 +3,7 @@
|
|||||||
with pkgs; {
|
with pkgs; {
|
||||||
flatpak = callPackage ./flatpak.nix { };
|
flatpak = callPackage ./flatpak.nix { };
|
||||||
gnu = callPackage ./gnu.nix { };
|
gnu = callPackage ./gnu.nix { };
|
||||||
|
gnome = callPackage ./gnome.nix { };
|
||||||
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 { };
|
||||||
|
25
shells/gnome.nix
Normal file
25
shells/gnome.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# The usual development shell of GNOME-related projects. It isn't really
|
||||||
|
# complete, it is more of a list of common applications for these types of
|
||||||
|
# projects.
|
||||||
|
#
|
||||||
|
# These include toolkits for C, Rust, and GNOME JavaScript.
|
||||||
|
{ mkShell, meson, ninja, gtk4, libadwaita, gjs, pkg-config, rustPlatform, nodePackages }:
|
||||||
|
|
||||||
|
mkShell {
|
||||||
|
packages = [
|
||||||
|
meson # Their build system of choice.
|
||||||
|
ninja # Their other build system of choice.
|
||||||
|
cmake # Their other meta-build system of choice.
|
||||||
|
pkg-config # That librarian in the background.
|
||||||
|
gtk4 # The star of the show.
|
||||||
|
libadwaita # The co-star of the show.
|
||||||
|
|
||||||
|
# When Rust and GTK go together...
|
||||||
|
rustPlatform.cargo
|
||||||
|
rustPlatform.rustc
|
||||||
|
|
||||||
|
# Creating desktop applications with JavaScript without Electron!
|
||||||
|
nodePackages.typescript
|
||||||
|
gjs
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user