-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathshell.nix
More file actions
58 lines (48 loc) · 1.22 KB
/
shell.nix
File metadata and controls
58 lines (48 loc) · 1.22 KB
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
50
51
52
53
54
55
56
57
58
{
pkgs ? import <nixpkgs> {
inherit system;
config = { };
overlays = [ ];
},
system ? builtins.currentSystem,
minimal ? false,
}:
pkgs.mkShellNoCC {
packages =
with pkgs;
[
/*
WARN(@getchoo): KEEP A SAFE NIX PINNED!!
We end up relying on some features exclusive to Nix, like relative path inputs
https://git.lix.systems/lix-project/lix/issues/641
We also run into inconsistent evaluation with "distributions" of Nix
and their features - like DetNix and Lazy Trees
Basically: Nix is the only one that evaluates our development Flake correctly. Yay.
*/
nixVersions.nix_2_28
# Node tooling for Astro/Starlight
nodejs-slim
corepack
nrr
]
++ lib.optionals (!minimal) [
# Nix tools
deadnix
nixfmt
nil
statix
# GHA lints
actionlint
# Python tools for paws.py
pyright
ruff
# More node tooling for Astro/Starlight
astro-language-server
typescript-language-server
# Shell lints
shellcheck
];
shellHook = ''
echo "Welcome to the catppuccin/nix repository! Thanks for contributing and have a wonderful day 🐈"
'';
}