From 1ab6a8f263bcf26d045138060a414ebc410b50e7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Apr 2020 23:37:25 +0100 Subject: fix(third_party/honk): Create a fake $HOME --- third_party/honk/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'third_party') diff --git a/third_party/honk/default.nix b/third_party/honk/default.nix index 8248bd6a8e89..fb3e80c45245 100644 --- a/third_party/honk/default.nix +++ b/third_party/honk/default.nix @@ -11,6 +11,11 @@ pkgs.stdenv.mkDerivation rec { sha256 = "0fj1ybhsra626q5vy1sy9aigxx5rjda5mgq74m7kzw7an4z2a67m"; }; + # Go tooling needs $HOME to exist because, well, who knows. + preBuild = '' + mkdir home && export HOME=$PWD/home + ''; + installPhase = '' install -D honk $out/bin/honk install -D docs/honk.1 $out/share/man/man1/honk.1 -- cgit 1.4.1