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
+1 -1
View File
@@ -17,7 +17,7 @@ buildGoPackage rec {
buildInputs = [ makeWrapper ];
preFixup = ''
wrapProgram "$bin/bin/diskrsync" --argv0 diskrsync --prefix PATH : ${openssh}/bin
wrapProgram "$out/bin/diskrsync" --argv0 diskrsync --prefix PATH : ${openssh}/bin
'';
meta = with stdenv.lib; {
+1 -1
View File
@@ -19,7 +19,7 @@ buildGoPackage rec {
'';
installPhase = ''
install -D duplicacy_main $bin/bin/duplicacy
install -D duplicacy_main $out/bin/duplicacy
'';
meta = with lib; {
+1 -1
View File
@@ -20,7 +20,7 @@ buildGoPackage rec {
passthru.tests.restic = nixosTests.restic;
postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
$bin/bin/restic generate \
$out/bin/restic generate \
--bash-completion restic.bash \
--zsh-completion restic.zsh \
--man .
+1 -1
View File
@@ -19,7 +19,7 @@ buildGoPackage rec {
'';
installPhase = ''
install -Dt $bin/bin rest-server
install -Dt $out/bin rest-server
'';
meta = with lib; {