Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nix): update path to hydra build for 2.24 and newer #3066

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

sandydoo
Copy link
Contributor

@sandydoo sandydoo commented Aug 6, 2024

Renovate currently fails to download Nix because the URL for the latest version has been updated.

WARN: Error updating flake.lock (branch="renovate/lock-file-maintenance")
{
  "err": {
    "cmd": "/bin/sh -c install-tool nix 2.24.1",
    "stderr": "",
    "stdout": "installing v2 tool nix v2.24\n[12:53:34.669] INFO (53): Installing tool [email protected]...\nDownload failed: https://hydra.nixos.org/job/nix/maintenance-2.24/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist\nDownload failed, retrying\nDownload failed: https://hydra.nixos.org/job/nix/maintenance-2.24/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist\nDownload failed, retrying\nDownload failed: https://hydra.nixos.org/job/nix/maintenance-2.24/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist\nDownload failed: https://hydra.nixos.org/job/nix/maintenance-2.24/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist\n[12:53:37.663] INFO (103): Downloading file ...\n    url: \"https://hydra.nixos.org/job/nix/maintenance-2.24/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist\"\n    output: \"/tmp/renovate/cache/containerbase/50789f3416da6a7a362045e5add6d2ba81fef302b1678eae91ab63978e430317/binary-dist\"\n[12:53:38.117] ERROR (103): Response code 404 (Not Found)\n[12:53:38.118] FATAL (103): Download failed in 454ms.\n[12:53:38.296] ERROR (53): Command failed with exit code 1: /usr/local/containerbase/bin/install-tool.sh nix 2.24.1\n[12:53:38.297] FATAL (53): Install tool nix failed in 3.6s.\n",

Changes:

  • Bumped the version of Nix used in tests to the latest. This replicates the issue.
  • Updated the Hydra URL for Nix v2.24+.
  • Made a note in the registry docs about the URL change.

@BenoitKnecht
Copy link

@sandydoo Hell of a timing: #3067. 😅

@sandydoo sandydoo force-pushed the fix-nix-url branch 2 times, most recently from 1017bf9 to e23b7e5 Compare August 6, 2024 13:56
@sandydoo
Copy link
Contributor Author

sandydoo commented Aug 6, 2024

@BenoitKnecht, we should've had a battle of the PRs! suffix vs path

@BenoitKnecht
Copy link

@BenoitKnecht, we should've had a battle of the PRs! suffix vs path

@sandydoo Don't tempt me. ⚔️ 😄

test/Dockerfile.jammy Outdated Show resolved Hide resolved
@viceice viceice enabled auto-merge August 6, 2024 17:09
@viceice viceice added this pull request to the merge queue Aug 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 7, 2024
@viceice viceice merged commit d10f590 into containerbase:main Aug 7, 2024
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants