tangled
alpha
login
or
join now
dunkirk.sh
/
herald
1
fork
atom
rss email digests over ssh because you're a cool kid
herald.dunkirk.sh
go
rss
rss-reader
ssh
charm
1
fork
atom
overview
issues
pulls
pipelines
feat: add flake
dunkirk.sh
2 months ago
7014bf5e
ad410190
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+94
3 changed files
expand all
collapse all
unified
split
.envrc
flake.lock
flake.nix
+1
.envrc
···
1
1
+
eval "$(nix print-dev-env)"
+61
flake.lock
···
1
1
+
{
2
2
+
"nodes": {
3
3
+
"flake-utils": {
4
4
+
"inputs": {
5
5
+
"systems": "systems"
6
6
+
},
7
7
+
"locked": {
8
8
+
"lastModified": 1731533236,
9
9
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
10
10
+
"owner": "numtide",
11
11
+
"repo": "flake-utils",
12
12
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
13
13
+
"type": "github"
14
14
+
},
15
15
+
"original": {
16
16
+
"owner": "numtide",
17
17
+
"repo": "flake-utils",
18
18
+
"type": "github"
19
19
+
}
20
20
+
},
21
21
+
"nixpkgs": {
22
22
+
"locked": {
23
23
+
"lastModified": 1767892417,
24
24
+
"narHash": "sha256-dhhvQY67aboBk8b0/u0XB6vwHdgbROZT3fJAjyNh5Ww=",
25
25
+
"owner": "NixOS",
26
26
+
"repo": "nixpkgs",
27
27
+
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
28
28
+
"type": "github"
29
29
+
},
30
30
+
"original": {
31
31
+
"owner": "NixOS",
32
32
+
"ref": "nixos-unstable",
33
33
+
"repo": "nixpkgs",
34
34
+
"type": "github"
35
35
+
}
36
36
+
},
37
37
+
"root": {
38
38
+
"inputs": {
39
39
+
"flake-utils": "flake-utils",
40
40
+
"nixpkgs": "nixpkgs"
41
41
+
}
42
42
+
},
43
43
+
"systems": {
44
44
+
"locked": {
45
45
+
"lastModified": 1681028828,
46
46
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
47
47
+
"owner": "nix-systems",
48
48
+
"repo": "default",
49
49
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
50
50
+
"type": "github"
51
51
+
},
52
52
+
"original": {
53
53
+
"owner": "nix-systems",
54
54
+
"repo": "default",
55
55
+
"type": "github"
56
56
+
}
57
57
+
}
58
58
+
},
59
59
+
"root": "root",
60
60
+
"version": 7
61
61
+
}
+32
flake.nix
···
1
1
+
{
2
2
+
description = "Herald - RSS feed aggregator";
3
3
+
4
4
+
inputs = {
5
5
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6
6
+
flake-utils.url = "github:numtide/flake-utils";
7
7
+
};
8
8
+
9
9
+
outputs = { self, nixpkgs, flake-utils }:
10
10
+
flake-utils.lib.eachDefaultSystem (system:
11
11
+
let
12
12
+
pkgs = nixpkgs.legacyPackages.${system};
13
13
+
in
14
14
+
{
15
15
+
devShells.default = pkgs.mkShell {
16
16
+
buildInputs = with pkgs; [
17
17
+
go_1_24
18
18
+
golangci-lint
19
19
+
gotools
20
20
+
gopls
21
21
+
delve
22
22
+
];
23
23
+
24
24
+
shellHook = ''
25
25
+
echo "Herald development environment"
26
26
+
echo "Go version: $(go version)"
27
27
+
echo "golangci-lint version: $(golangci-lint version)"
28
28
+
'';
29
29
+
};
30
30
+
}
31
31
+
);
32
32
+
}