treewide: use $out instead of $bin with buildGoPackage
This commit is contained in:
@@ -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; {
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user