From 9951de47ded28a84a9e975d870f3c7c4749fb83e Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 20 Apr 2019 19:34:16 +0200 Subject: pkgs/profpatsch/nman: fix go build --- pkgs/profpatsch/nman/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/profpatsch/nman') diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index b9b967cf..bbf4f00f 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -6,7 +6,9 @@ runCommandNoCC "nman" { license = licenses.gpl3; }; } '' - ${lib.getBin go}/bin/go build -o nman ${./nman.go} + mkdir cache + env GOCACHE="$PWD/cache" \ + ${lib.getBin go}/bin/go build -o nman ${./nman.go} install -D nman $out/bin/nman '' -- cgit 1.4.1