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
todosrht: 0.61.11 -> 0.62.1 #100248
todosrht: 0.61.11 -> 0.62.1 #100248
Conversation
You should consider writing a script to update all of these packages, See https://nixos.org/manual/nixpkgs/unstable/#var-passthru-updateScript and: ryantm/nixpkgs-update#205 . |
There is already an update script, AFAIK. |
Then it could be easier to review it all went into 1 PR :). And there is no update script:
|
There is one, it just isn't used in Though as I was writing one reason was probably because using the Ah, another reason was because |
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.
git fetch upstream master
git reset --hard upstream/master # 8294af02845210169290240e6fd356f6b7ea3f11
for branch in raito-srht-todo raito-srht-git raito-srht-paste raito-srht-meta raito-srht-man raito-srht-lists raito-srht-hub raito-srht-hg raito-srht-builds; do
git pull --no-edit https://github.com/RaitoBezarius/nixpkgs $branch
done
nix-build -A sourcehut --no-out-link
/nix/store/ksgrcv6iqmp873jbgp1mdxma6xy9sl90-python3.8-buildsrht-0.63.4
/nix/store/xq1y5b53c957fcb7gwgpm5474fiz7pjc-python3.8-dispatchsrht-0.14.9
/nix/store/x6qrvwf200vbbc9k5kyc2cjmls9igmld-python3.8-gitsrht-0.61.10
/nix/store/xy6h4s1gk9v9gssg5y3yimny1ikzcm5z-python3.8-hgsrht-0.26.19
/nix/store/wwbhbh0y6bm7dchvwk6mq5lycn7b13wp-python3.8-hubsrht-0.11.5
/nix/store/d2zjhn7l6karlcfk13j19cxpwqk55g8g-python3.8-listssrht-0.45.15
/nix/store/gr0fsjc6wi8fjpnrflw0wql8v0xygpkp-python3.8-mansrht-0.15.4
/nix/store/lkr4y0wgxlyibyxlqqm6s3piabcqy5a0-python3.8-metasrht-0.51.2
/nix/store/kh72h6wid0bhhgkrg4xk4dxnispi1b25-python3.8-pastesrht-0.11.2
/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5
/nix/store/c2s1jnry70anmswvjfb2cf72019f31rb-python3.8-todosrht-0.62.1
Well, I asked if I could bundle all those in one PR and didn't get any answer on IRC, so in doubt, I splitted them :D… |
Here's an ugly way to get vendorSha256 in a script: nixpkgs/pkgs/servers/gotify/update.sh Lines 32 to 38 in 62e6142
Though I know it's possible to use
|
The problem is when the old derivation isn't gc'ed, where the hash error doesn't occur. |
Take a look at the whole script, it puts zeros on all of it before running that command. |
Motivation for this change
Package bumping.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)