flake(go): use go_1_18 everywhere
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
390fe9b4da
commit
7d3cd18ff2
@ -45,7 +45,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
# no overlay imports atm
|
# no overlay imports atm
|
||||||
(import ./overlay.nix)
|
# (import ./overlay.nix)
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
in rec {
|
in rec {
|
||||||
@ -59,10 +59,10 @@
|
|||||||
inherit (pkgs) lib overlays; # -> lib = pkgs.lib;overlays = pkgs.overlays;
|
inherit (pkgs) lib overlays; # -> lib = pkgs.lib;overlays = pkgs.overlays;
|
||||||
in rec {
|
in rec {
|
||||||
math-optim = with pkgs;
|
math-optim = with pkgs;
|
||||||
buildGoModule rec {
|
buildGo118Module rec {
|
||||||
pname = "${projname}";
|
pname = "${projname}";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
go
|
go_1_18
|
||||||
# gcc
|
# gcc
|
||||||
# glibc
|
# glibc
|
||||||
# glibc.static
|
# glibc.static
|
||||||
@ -226,7 +226,8 @@
|
|||||||
[
|
[
|
||||||
# use pathed go, as it's (supposed to be) faster with cgo,
|
# use pathed go, as it's (supposed to be) faster with cgo,
|
||||||
# which will inevitably encountered anyway.
|
# which will inevitably encountered anyway.
|
||||||
goPkgs.go
|
# goPkgs.go
|
||||||
|
go_1_18
|
||||||
go-tools
|
go-tools
|
||||||
gopls
|
gopls
|
||||||
gofumpt
|
gofumpt
|
||||||
|
Loading…
Reference in New Issue
Block a user