fix: allow fetching nix-eval-jobs anonymously #23

Merged
jade merged 2 commits from nogit-urls into main 2024-05-06 23:06:34 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ef84a1e4b3 - Show all commits

View file

@ -1 +1 @@
{"nix-eval-jobs": {"kind": "git", "rev": "793841a9b7b689e37c9a7902710aab2bd6a833d5", "nar_hash": "sha256-hUYgXLE0+zOkGPXXwiVPYAZBQ5Es9OOkm800puk7a94=", "url": "git@git.lix.systems:lix-project/nix-eval-jobs", "ref": "main"}}
{"nix-eval-jobs": {"kind": "tarball", "rev": "793841a9b7b689e37c9a7902710aab2bd6a833d5", "nar_hash": "sha256-hUYgXLE0+zOkGPXXwiVPYAZBQ5Es9OOkm800puk7a94=", "locked_url": "https://git.lix.systems/api/v1/repos/lix-project/nix-eval-jobs/archive/793841a9b7b689e37c9a7902710aab2bd6a833d5.tar.gz?rev=793841a9b7b689e37c9a7902710aab2bd6a833d5", "url": "https://git.lix.systems/lix-project/nix-eval-jobs/archive/main.tar.gz"}}

View file

@ -147,7 +147,7 @@ def lock_git(url, branch) -> GitPinSerialized:
PINS = {
'nix-eval-jobs':
raito marked this conversation as resolved Outdated
Outdated
Review

oh that works but you can actually use a TarballPinSpec of the tarball for main, which is even nicer.

oh that works but you can actually use a TarballPinSpec of the tarball for main, which is even nicer.
Outdated
Review

can do that

can do that
Outdated
Review

Done.

Done.
GitPinSpec('git@git.lix.systems:lix-project/nix-eval-jobs', 'main')
TarballPinSpec('https://git.lix.systems/lix-project/nix-eval-jobs/archive/main.tar.gz')
}