diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-04-28 11:50:57 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-04-28 20:30:29 +1000 |
commit | b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed (patch) | |
tree | 77df5bd7e3c972e12a022ca5fc437c8f67ce9092 /pkgs/tools/backup/restic | |
parent | c59c4e358989ce49afd177e6899549fbb8f8bf7f (diff) | |
download | nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar.gz nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar.bz2 nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar.lz nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar.xz nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.tar.zst nixpkgs-b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed.zip |
treewide: use $out instead of $bin with buildGoPackage
Diffstat (limited to 'pkgs/tools/backup/restic')
-rw-r--r-- | pkgs/tools/backup/restic/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/restic/rest-server.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index df9d613ee44..f366533f9bf 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -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 . diff --git a/pkgs/tools/backup/restic/rest-server.nix b/pkgs/tools/backup/restic/rest-server.nix index c7f12cb751b..45a4df74b15 100644 --- a/pkgs/tools/backup/restic/rest-server.nix +++ b/pkgs/tools/backup/restic/rest-server.nix @@ -19,7 +19,7 @@ buildGoPackage rec { ''; installPhase = '' - install -Dt $bin/bin rest-server + install -Dt $out/bin rest-server ''; meta = with lib; { |