tangled
alpha
login
or
join now
thecoded.prof
/
shells
0
fork
atom
A collection of easily useable/reusable nilla shells
0
fork
atom
overview
issues
pulls
pipelines
feat: add rust shell
thecoded.prof
3 weeks ago
db0e3407
d6070e44
verified
This commit was signed with the committer's
known signature
.
thecoded.prof
SSH Key Fingerprint:
SHA256:ePn0u8NlJyz3J4Zl9MHOYW3f4XKoi5K1I4j53bwpG0U=
+44
2 changed files
expand all
collapse all
unified
split
nilla.nix
npins
sources.json
+31
nilla.nix
···
8
8
{
9
9
config = {
10
10
inputs = {
11
11
+
fenix = {
12
12
+
src = pins.fenix;
13
13
+
};
11
14
nixpkgs = {
12
15
src = pins.nixpkgs;
16
16
+
17
17
+
settings.overlays = [
18
18
+
config.inputs.fenix.result.overlays.default
19
19
+
];
13
20
};
14
21
treefmt-nix = {
15
22
src = pins.treefmt-nix;
···
75
82
packages = [
76
83
pkgs.python314
77
84
pkgs.python314Packages.pip
85
85
+
];
86
86
+
};
87
87
+
};
88
88
+
89
89
+
shells.rust = {
90
90
+
systems = [ "x86_64-linux" ];
91
91
+
92
92
+
shell =
93
93
+
{
94
94
+
bacon,
95
95
+
fenix,
96
96
+
mkShell,
97
97
+
}:
98
98
+
mkShell {
99
99
+
packages = [
100
100
+
bacon
101
101
+
(fenix.complete.withComponents [
102
102
+
"cargo"
103
103
+
"clippy"
104
104
+
"rust-src"
105
105
+
"rustc"
106
106
+
"rustfmt"
107
107
+
"rust-analyzer"
108
108
+
])
78
109
];
79
110
};
80
111
};
+13
npins/sources.json
···
1
1
{
2
2
"pins": {
3
3
+
"fenix": {
4
4
+
"type": "Git",
5
5
+
"repository": {
6
6
+
"type": "GitHub",
7
7
+
"owner": "nix-community",
8
8
+
"repo": "fenix"
9
9
+
},
10
10
+
"branch": "main",
11
11
+
"submodules": false,
12
12
+
"revision": "2e634630daa7f0e1e5c7361f2fd152abed885b54",
13
13
+
"url": "https://github.com/nix-community/fenix/archive/2e634630daa7f0e1e5c7361f2fd152abed885b54.tar.gz",
14
14
+
"hash": "sha256-/wg2AldzzgPCxWpTIq3tRq38+drl68SAsgaJqgRjCH8="
15
15
+
},
3
16
"nilla": {
4
17
"type": "Git",
5
18
"repository": {