treewide: use $out instead of $bin with buildGoPackage
This commit is contained in:
@@ -65,7 +65,7 @@ in buildGoPackage rec {
|
||||
"'/run/gitlab/shell-config.yml'"
|
||||
'';
|
||||
|
||||
outputs = [ "bin" "out" "ruby" ];
|
||||
outputs = [ "out" "ruby" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://gitlab.com/gitlab-org/gitaly";
|
||||
|
||||
@@ -18,8 +18,8 @@ buildGoPackage rec {
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
postInstall = ''
|
||||
cp -r "$NIX_BUILD_TOP/go/src/$goPackagePath"/bin/* $bin/bin
|
||||
cp -r "$NIX_BUILD_TOP/go/src/$goPackagePath"/{support,VERSION} $bin/
|
||||
cp -r "$NIX_BUILD_TOP/go/src/$goPackagePath"/bin/* $out/bin
|
||||
cp -r "$NIX_BUILD_TOP/go/src/$goPackagePath"/{support,VERSION} $out/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user