-
Notifications
You must be signed in to change notification settings - Fork 4
/
flake.nix
49 lines (44 loc) · 1.07 KB
/
flake.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
inputs = {
nixpkgs.url = "github:paveloom/nixpkgs/system";
};
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
in {
devShells.${system}.default = pkgs.mkShell {
name = "gnome-shell-memento-mori-shell";
nativeBuildInputs = with pkgs; [
alejandra
bash-language-server
bashInteractive
nil
npm-check-updates
shellcheck
shfmt
typescript-language-server
vscode-langservers-extracted
yamlfmt
yamllint
gettext
gnome.gnome-shell
gobject-introspection
libxml2
nodejs_latest
];
env = {
GIR_DIRECTORIES = nixpkgs.lib.concatStringsSep " " (with pkgs; [
"${glib.dev}/share/gir-1.0"
"${gnome.gnome-shell}/share/gnome-shell"
"${gnome.mutter}/lib/mutter-14"
"${gobject-introspection.dev}/share/gir-1.0"
"${gtk4.dev}/share/gir-1.0"
"${libadwaita.dev}/share/gir-1.0"
]);
};
};
};
}