Use go 1.19 in Nix

This commit is contained in:
Juan Font Alonso 2022-09-03 23:06:21 +02:00
parent 373db0dc5e
commit 663dbf7395

View file

@ -17,7 +17,7 @@
in in
rec { rec {
headscale = headscale =
pkgs.buildGo118Module rec { pkgs.buildGo119Module rec {
pname = "headscale"; pname = "headscale";
version = headscaleVersion; version = headscaleVersion;
src = pkgs.lib.cleanSource self; src = pkgs.lib.cleanSource self;
@ -95,7 +95,7 @@
overlays = [ self.overlay ]; overlays = [ self.overlay ];
inherit system; inherit system;
}; };
buildDeps = with pkgs; [ git go_1_18 gnumake ]; buildDeps = with pkgs; [ git go_1_19 gnumake ];
devDeps = with pkgs; devDeps = with pkgs;
buildDeps ++ [ buildDeps ++ [
golangci-lint golangci-lint