Skip to content

Commit 881b305

Browse files
stackptrclaude
andcommitted
fix(spore): set golink package directly to fix vendorHash
The golink flake's overlay always overwrites pkgs.golink with its own pre-built package, making overlay-based overrides ineffective. Set services.golink.package directly with the correct vendorHash. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6137910 commit 881b305

4 files changed

Lines changed: 6 additions & 12 deletions

File tree

‎hosts/spore/services/default.nix‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
services.golink = {
3232
enable = true;
3333
tailscaleAuthKeyFile = config.age.secrets.tailscale-auth-key.path;
34+
package = pkgs.buildGo125Module {
35+
pname = "golink";
36+
inherit (pkgs.golink) version src ldflags;
37+
vendorHash = "sha256-M3Qm25KF6gWtp3K1SigLucgrIJ+5KokMq+Bp7XXaE+o=";
38+
};
3439
};
3540

3641
services.openssh.enable = true;

‎lib/hosts.nix‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ inputs @ {
7171
inherit username hostname system;
7272
showBatteryStatus = false;
7373
})
74-
golink.nixosModules.default
7574
{
7675
nixpkgs.overlays = overlays;
7776
}
77+
golink.nixosModules.default
7878
zx-dev.nixosModules.default
7979
];
8080
};

‎overlays/default.nix‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@
55

66
# Fix Daisydisk ahead of upstream
77
(import ./daisydisk.nix)
8-
9-
# Fix vendorHash for apoxy-dev golink fork
10-
(import ./golink.nix)
118
]

‎overlays/golink.nix‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)