Skip to content

fix(nix): use nix-hash instead of nix-prefetch-url #5669

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

Merged
merged 2 commits into from
Mar 22, 2025
Merged

fix(nix): use nix-hash instead of nix-prefetch-url #5669

merged 2 commits into from
Mar 22, 2025

Conversation

caarlos0
Copy link
Member

nix-prefetch-url will need the release to be published to work.

If the user wants to start the release as a draft and publish manually, this will fail, as the URL will fail to resolve.

Using nix-hash instead is also faster than nix-prefetch-url, as it doesn't need to download the artifact again.

`nix-prefetch-url` will need the release to be published to work.

If the user wants to start the release as a draft and publish manually,
this will fail, as the URL will fail to resolve.

Using `nix-hash` instead is also faster than `nix-prefetch-url`, as it
doesn't need to download the artifact again.
@caarlos0 caarlos0 added the bug Something isn't working label Mar 22, 2025
@caarlos0 caarlos0 self-assigned this Mar 22, 2025
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 22, 2025
Copy link

cloudflare-workers-and-pages bot commented Mar 22, 2025

Deploying goreleaser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90111f0
Status: ✅  Deploy successful!
Preview URL: https://7a195aa5.goreleaser.pages.dev
Branch Preview URL: https://nix.goreleaser.pages.dev

View logs

Copy link

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.85%. Comparing base (0cb58bf) to head (90111f0).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5669   +/-   ##
=======================================
  Coverage   82.84%   82.85%           
=======================================
  Files         156      156           
  Lines       15612    15617    +5     
=======================================
+ Hits        12934    12939    +5     
  Misses       2111     2111           
  Partials      567      567           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@caarlos0 caarlos0 merged commit e2dde95 into main Mar 22, 2025
18 checks passed
@caarlos0 caarlos0 deleted the nix branch March 22, 2025 14:06
caarlos0 added a commit that referenced this pull request Mar 22, 2025
refs #5669

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant