treewide: use $out instead of $bin with buildGoPackage

This commit is contained in:
zowoq
2020-04-28 20:30:29 +10:00
parent c59c4e3589
commit b5dc07a4b4
88 changed files with 153 additions and 164 deletions
+2 -2
View File
@@ -17,14 +17,14 @@ buildGoPackage rec {
goDeps = ./deps.nix;
outputs = [ "bin" "out" "man" ];
outputs = [ "out" "man" ];
nativeBuildInputs = [ go-bindata gotools makeWrapper ];
preBuild = ''go generate ./...'';
postInstall = ''
wrapProgram $bin/bin/go2nix \
wrapProgram $out/bin/go2nix \
--prefix PATH : ${nix-prefetch-git}/bin \
--prefix PATH : ${git}/bin