From 7d3cd18ff26fc52100a78255308b6b6e9e9a62ce Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 12 Jan 2023 23:17:37 +0100 Subject: [PATCH] flake(go): use go_1_18 everywhere --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index e15eb68..3994a15 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ inherit system; overlays = [ # no overlay imports atm - (import ./overlay.nix) + # (import ./overlay.nix) ]; }); in rec { @@ -59,10 +59,10 @@ inherit (pkgs) lib overlays; # -> lib = pkgs.lib;overlays = pkgs.overlays; in rec { math-optim = with pkgs; - buildGoModule rec { + buildGo118Module rec { pname = "${projname}"; buildInputs = [ - go + go_1_18 # gcc # glibc # glibc.static @@ -226,7 +226,8 @@ [ # use pathed go, as it's (supposed to be) faster with cgo, # which will inevitably encountered anyway. - goPkgs.go + # goPkgs.go + go_1_18 go-tools gopls gofumpt