Skip to content

Commit b32c7b6

Browse files
committed
fix: fmt and go version, hopefully
1 parent 6043d49 commit b32c7b6

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/packages/gatekeeper.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
perSystem =
44
{ system, ... }:
55
let
6-
go124 = inputs.nixpkgs-go124.legacyPackages.${system}.go_1_24;
6+
7+
go124 =
8+
let
9+
candidate = inputs.nixpkgs-go124.legacyPackages.${system};
10+
in
11+
if candidate ? go_1_24 then
12+
candidate.go_1_24
13+
else
14+
throw "❌ nixpkgs-go124.${system} does not provide go_1_24!";
715
in
816
{
917
packages.gatekeeper = inputs.gatekeeper.lib.${system}.makeGatekeeper { go = go124; };

0 commit comments

Comments
 (0)