Skip to content

Fix hash generation#50

Merged
astro merged 2 commits intoastro:mainfrom
pedorich-n:fix-hash-generation
Dec 16, 2024
Merged

Fix hash generation#50
astro merged 2 commits intoastro:mainfrom
pedorich-n:fix-hash-generation

Conversation

@pedorich-n
Copy link
Contributor

Since generate-hashes migrated to writeShellApplication, the hash generation jobs failed. Mainly because snapshot branch doesn't have Packages files anymore.

writeShellApplication sets these flags for the script:

set -o errexit
set -o nounset
set -o pipefail

And since NixOS/nixpkgs#280592 they are configurable. So we can remove errexit, but because this repo's nixpkgs was quite old (more than a year) I had to update it first.

Disclaimer: this doesn't fix the builds, only makes the script not fail on errors, allowing to update hashes for OpenWRT =<24

@astro astro merged commit 3a685e2 into astro:main Dec 16, 2024
@astro
Copy link
Owner

astro commented Dec 16, 2024

Thank you!

@pedorich-n pedorich-n deleted the fix-hash-generation branch December 16, 2024 13:48
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.

2 participants