fix(third_party/honk): Create a fake $HOME
This commit is contained in:
parent
688175c1f7
commit
1ab6a8f263
1 changed files with 5 additions and 0 deletions
5
third_party/honk/default.nix
vendored
5
third_party/honk/default.nix
vendored
|
@ -11,6 +11,11 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
sha256 = "0fj1ybhsra626q5vy1sy9aigxx5rjda5mgq74m7kzw7an4z2a67m";
|
sha256 = "0fj1ybhsra626q5vy1sy9aigxx5rjda5mgq74m7kzw7an4z2a67m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Go tooling needs $HOME to exist because, well, who knows.
|
||||||
|
preBuild = ''
|
||||||
|
mkdir home && export HOME=$PWD/home
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D honk $out/bin/honk
|
install -D honk $out/bin/honk
|
||||||
install -D docs/honk.1 $out/share/man/man1/honk.1
|
install -D docs/honk.1 $out/share/man/man1/honk.1
|
||||||
|
|
Loading…
Reference in a new issue