flake: bump nixpkgs, Go to 1.19
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-08 20:10:38 +01:00
parent 8f398a9102
commit 9f475cd3b2
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
2 changed files with 14 additions and 14 deletions

@ -3,11 +3,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1650374568, "lastModified": 1673956053,
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "b4a34015c698c7793d592d66adbab377907a2be8", "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -18,11 +18,11 @@
}, },
"nix-filter": { "nix-filter": {
"locked": { "locked": {
"lastModified": 1653590866, "lastModified": 1675361037,
"narHash": "sha256-E4yKIrt/S//WfW5D9IhQ1dVuaAy8RE7EiCMfnbrOC78=", "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=",
"owner": "numtide", "owner": "numtide",
"repo": "nix-filter", "repo": "nix-filter",
"rev": "3e81a637cdf9f6e9b39aeb4d6e6394d1ad158e16", "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -33,11 +33,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1652840887, "lastModified": 1675698036,
"narHash": "sha256-gEK4NNa4GwIgTZE63kt/4WTFAWRTJVSa30+h4ZjFh9U=", "narHash": "sha256-BgsQkQewdlQi8gapJN4phpxkI/FCE/2sORBaFcYbp/A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "52dc75a4fee3fdbcb792cb6fba009876b912bfe0", "rev": "1046c7b92e908a1202c0f1ba3fc21d19e1cf1b62",
"type": "github" "type": "github"
}, },
"original": { "original": {

@ -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;
buildGo118Module rec { buildGo119Module rec {
pname = "${projname}"; pname = "${projname}";
buildInputs = [ buildInputs = [
go_1_18 go_1_19
# gcc # gcc
# glibc # glibc
# glibc.static # glibc.static
@ -151,7 +151,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ overlays = [
(import ./overlay.nix) # (import ./overlay.nix)
]; ];
}; };
goPkgs = import nixpkgs { goPkgs = import nixpkgs {
@ -161,7 +161,7 @@
self.overlays self.overlays
or [] or []
++ [ ++ [
(import ./overlay.nix) # (import ./overlay.nix)
]; ];
}; };
gob = pkgs.writeShellScriptBin "gob" '' gob = pkgs.writeShellScriptBin "gob" ''
@ -227,7 +227,7 @@
# 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_1_19
go-tools go-tools
gopls gopls
gofumpt gofumpt