-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
redwax-tool: 0.9.1 -> 0.9.7 #360341
base: master
Are you sure you want to change the base?
redwax-tool: 0.9.1 -> 0.9.7 #360341
Conversation
|
||
src = fetchsvn { | ||
url = "https://source.redwax.eu/svn/redwax/rt/redwax-tool/tags/redwax-tool-${version}/"; | ||
sha256 = "sha256-MWSB1AkkRS18UUHGq8EWv3OIXPSVHpmrdD5Eq1VdbkA="; | ||
sha256 = "sha256-fill-me-in"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please get the right hash :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had no clue as to where the hash came from, it appears to be a hash of a directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hash is used as parameter to fetchsvn. It is computed by checking out the redwax source at a specific version and hashing all files.
You can get the right hash by putting in sha256 = lib.fakeHash;
, running the build and then copying the hash from the error message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to change this to the tarballs below https://archive.redwax.eu/dist/rt/ - this is the permanent home of every release, and you'll be relying on our SHA256 hashes / PGP signatures, rather than what svn gave you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Try
src = fetchurl {
url = "https://archive.redwax.eu/dist/rt/redwax-tool-${version}/redwax-tool-${version}.tar.gz";
hash = "sha256-GYxThKyvgeyQ1ksfRrqvDUC+8j/0WgskMgz2/4qN1R4=";
};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has been made so.
Co-authored-by: Arne Keller <[email protected]>
…o redwax-0.9.7
Upgrade to redwax-tool v0.9.7.
Add libraries for nss, p11-kit, libical, ldns, libunbound.
Note: as yet untested, still learning :)
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.