diff options
author | Profpatsch <mail@profpatsch.de> | 2019-04-20 19:34:16 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-04-20 19:36:06 +0200 |
commit | 9951de47ded28a84a9e975d870f3c7c4749fb83e (patch) | |
tree | aed66604dac9ab66905ea7404f542bd3159046f9 /pkgs/profpatsch/nman | |
parent | 6480ee5b9e05a763eef929250bf14acaa8631202 (diff) |
pkgs/profpatsch/nman: fix go build
Diffstat (limited to 'pkgs/profpatsch/nman')
-rw-r--r-- | pkgs/profpatsch/nman/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 '' |