Skip to content
Snippets Groups Projects
Unverified Commit b50d6626 authored by Márk Sági-Kazár's avatar Márk Sági-Kazár Committed by GitHub
Browse files

Merge pull request #2648 from dexidp/nix-go

build: bump Go version to 1.19 in Nix
parents a1a3ed5b cf572e91
Branches
Tags
No related merge requests found
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1648297722, "lastModified": 1659877975,
"narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github" "type": "github"
}, },
"original": { "original": {
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1649225869, "lastModified": 1662019588,
"narHash": "sha256-u1zLtPmQzhT9mNXyM8Ey9pk7orDrIKdwooeGDEXm5xM=", "narHash": "sha256-oPEjHKGGVbBXqwwL+UjsveJzghWiWV0n9ogo1X6l4cw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b6966d911da89e5a7301aaef8b4f0a44c77e103c", "rev": "2da64a81275b68fdad38af669afeda43d401e94b",
"type": "github" "type": "github"
}, },
"original": { "original": {
......
...@@ -7,19 +7,21 @@ ...@@ -7,19 +7,21 @@
}; };
outputs = { self, nixpkgs, flake-utils, ... }: outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (
let system:
pkgs = nixpkgs.legacyPackages.${system}; let
buildDeps = with pkgs; [ git go_1_18 gnumake ]; pkgs = nixpkgs.legacyPackages.${system};
devDeps = with pkgs; buildDeps = with pkgs; [ git go_1_19 gnumake ];
buildDeps ++ [ devDeps = with pkgs;
golangci-lint buildDeps ++ [
gotestsum golangci-lint
protobuf gotestsum
protoc-gen-go protobuf
protoc-gen-go-grpc protoc-gen-go
kind protoc-gen-go-grpc
]; kind
in ];
{ devShell = pkgs.mkShell { buildInputs = devDeps; }; }); in
{ devShell = pkgs.mkShell { buildInputs = devDeps; }; }
);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment