Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/build-support/go/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ let
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ go git cacert ];

inherit (args) src;
inherit (go) GOOS GOARCH;
inherit (go) GOOS GOARCH GOARM;
inherit GO111MODULE GOTOOLCHAIN;

# The following inheritence behavior is not trivial to expect, and some may
Expand Down Expand Up @@ -161,7 +161,7 @@ let
package = stdenv.mkDerivation (args // {
nativeBuildInputs = [ go ] ++ nativeBuildInputs;

inherit (go) GOOS GOARCH;
inherit (go) GOOS GOARCH GOARM;

GOFLAGS = GOFLAGS
++ lib.warnIf (lib.any (lib.hasPrefix "-mod=") GOFLAGS) "use `proxyVendor` to control Go module/vendor behavior instead of setting `-mod=` in GOFLAGS"
Expand Down
9 changes: 1 addition & 8 deletions pkgs/servers/headscale/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
buildGoModule rec {
pname = "headscale";
version = "0.22.3";
version = "0.23.0-rc.1";

src = fetchFromGitHub {
owner = "juanfont";
Expand All @@ -30,13 +30,6 @@ buildGoModule rec {

tags = ["ts2019"];

postInstall = ''
installShellCompletion --cmd headscale \
--bash <($out/bin/headscale completion bash) \
--fish <($out/bin/headscale completion fish) \
--zsh <($out/bin/headscale completion zsh)
'';

passthru.tests = { inherit (nixosTests) headscale; };

meta = with lib; {
Expand Down