diff options
author | Berk D. Demir <bdd@mindcast.org> | 2022-05-13 12:22:42 -0700 |
---|---|---|
committer | Berk D. Demir <bdd@mindcast.org> | 2022-05-13 12:22:46 -0700 |
commit | 5205b3a91fdceaf664d495eb281997052d06e309 (patch) | |
tree | ab990074f0e0710b10b057df90931d32afa9dc5c /pkgs/tools/backup/restic | |
parent | 3ab458c39af4f52ec08e7b64183ac41691983301 (diff) |
restic-rest-server: remove vars from patch url
addresses feedback from #172817. style only. no functional changes.
Diffstat (limited to 'pkgs/tools/backup/restic')
-rw-r--r-- | pkgs/tools/backup/restic/rest-server.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/backup/restic/rest-server.nix b/pkgs/tools/backup/restic/rest-server.nix index 6296103c1c28a..0e9a72381ba6d 100644 --- a/pkgs/tools/backup/restic/rest-server.nix +++ b/pkgs/tools/backup/restic/rest-server.nix @@ -3,11 +3,10 @@ buildGoModule rec { pname = "restic-rest-server"; version = "0.11.0"; - owner = "restic"; - repo = "rest-server"; src = fetchFromGitHub { - inherit owner repo; + owner = "restic"; + repo = "rest-server"; rev = "v${version}"; hash = "sha256-ninPODztNzvB2js9cuNAuExQLK/OGOu80ZNW0BPrdds="; }; @@ -17,7 +16,7 @@ buildGoModule rec { patches = [ (fetchpatch { name = "backport_rest-server_tests_os.TempDir.patch"; - url = "https://github.com/${owner}/${repo}/commit/a87a50ad114bdaddc895413396438df6ea0affbb.patch"; + url = "https://github.com/restic/rest-server/commit/a87a50ad114bdaddc895413396438df6ea0affbb.patch"; sha256 = "sha256-O6ENxTK2fCVTZZKTFHrvZ+3dT8TbgbIE0o3sYE/RUqc="; }) |