Skip to content

Commit 35afcef

Browse files
committed
Patch for nixpkgs Go version mismatch
1 parent 29e82bb commit 35afcef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
version = version;
4242
src = srcWithReplacedVersion;
4343
vendorHash = "sha256-PENsCO2yFxLVZNPgx2OP+gWVNfjJAfXkwWS7tzlm490=";
44+
preBuild = ''
45+
export GOTOOLCHAIN=auto
46+
'';
47+
patchPhase = ''
48+
sed -i 's/^go 1.25$/go 1.24/g' go.mod
49+
'';
4450
meta = with pkgs.lib; {
4551
description = "A tunneling client for Pangolin";
4652
homepage = "https://github.com/fosrl/newt";

0 commit comments

Comments
 (0)