CI: Add a new workflow that tries to automatically update nix hashes#2871
CI: Add a new workflow that tries to automatically update nix hashes#2871mergify[bot] merged 26 commits intomasterfrom
Conversation
with #2761 adding even more fixed output derivations, this may be useful. If this works, maybe I’ll extract the `run` script here to a script in the repo that works offline just as well.
|
This seems to work, I suggest we get it into
|
ggreif
left a comment
There was a problem hiding this comment.
This needs some prose in the explanation otherwise I don't know what I am reviewing :-)
|
True; updated the PR description |
|
@nomeata will we merge this? |
|
No hurry, maybe better when I'm back from traveling. |
|
Looks like I lost my commit rights here too? Is that intentional? |
No way. What are the symptoms you see? E.g. unable to resolve the conflict? |
| @@ -0,0 +1,36 @@ | |||
| { lib | |||
There was a problem hiding this comment.
ditto: nixpkgs-21.11 has this
|
I can't commit your suggestions, please apply yourself |
|
@nomeata, I just added you to the repo. Maybe it just happened to work earlier because you were member of the Dfinity core team? |
|
No, I lost that membership months ago, and were manually added to this repo and ic-hs. I assume it was some over-eager security team person or script? Thanks for adding me back. |
|
A JIRA is open to add back the commit bit. |
Andreas already took care of it for motoko, so ic-hs is still missing |
this is in `nixpkgs-21.11`
|
@nomeata the action sez: Resolved: |
needs `nix-command` as experimental
ggreif
left a comment
There was a problem hiding this comment.
This looks like ready for the heavy-duty!
|
@nomeata you have both bits back :-) Sorry for the grievances!
|
|
Thanks for quick fixing :-) |
Usually, when we upgrade some dependencies, we have to manually update the hashes. This involves
The
nix-updatetool can automate that.This PR makes Github do that on all pushes (even to feature branches), and if needed, push a fix to that branch.
With #2761 adding even more fixed output derivations, this may be more relevant.