treewide: use $out instead of $bin with buildGoPackage

This commit is contained in:
zowoq
2020-04-28 11:50:57 +10:00
parent c59c4e3589
commit b5dc07a4b4
88 changed files with 153 additions and 164 deletions

View File

@@ -14,7 +14,7 @@ buildGoPackage rec {
buildPhase = ''
pushd go/src/${goPackagePath}
make all install BINDIR=$bin/bin
make all install BINDIR=$out/bin
'';
meta = with lib; {

View File

@@ -23,7 +23,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
postInstall = ''
wrapProgram $bin/bin/distrobuilder --prefix PATH ":" ${binPath}
wrapProgram $out/bin/distrobuilder --prefix PATH ":" ${binPath}
'';
nativeBuildInputs = [ pkgconfig makeWrapper ];