-
Notifications
You must be signed in to change notification settings - Fork 46
/
shell.nix
35 lines (32 loc) · 713 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ pkgs ? import (fetchTarball https://nixos.org/channels/nixos-22.11/nixexprs.tar.xz) { } }:
# Use to setup development shell for NixOS.
with pkgs;
mkShell {
buildInputs = with pkgs; [
yarn
gjs
gtk4
libadwaita
gobject-introspection
gnome.mutter
atk
gtk3
polkit
gcr
networkmanager
graphene
gnome.gnome-shell
zip
];
shellHook = ''
export GIR_EXT_PATH=${
builtins.concatStringsSep ":" [
"${pkgs.gnome.gnome-shell}/share/gnome-shell"
"${pkgs.gnome.mutter}/lib/mutter-11"
"${pkgs.gnome.mutter}/lib/mutter-10"
"${pkgs.gnome.mutter}/lib/mutter-9"
"${pkgs.gnome.mutter}/lib/mutter-8"
]
}
'';
}