treewide: replace direct PR references to commits in patches#370724
treewide: replace direct PR references to commits in patches#370724PerchunPak wants to merge 1 commit intoNixOS:stagingfrom
Conversation
There was a problem hiding this comment.
Apparently this PR did change, I hope this doesn't break anything
There was a problem hiding this comment.
Oh nixpkgs no longer ships anything older 1.2, I remove it then
There was a problem hiding this comment.
The hash didn't change
$ nix hash to-sri --type sha256 1bwivimpi2hiil3zdnl5qkds1inyn239wgxbn3y8l2pwyppnnfl0
sha256-gDpr7/X8Cor8sKs/noaw3sag28SF2vYHjRGKeGvcka8=
There was a problem hiding this comment.
5c5
< @@ -105,6 +105,15 @@ media_output_dri_init (VADriverContextP ctx)
---
> @@ -105,6 +105,15 @@
21c21
< @@ -112,6 +121,7 @@ media_output_dri_init (VADriverContextP ctx)
---
> @@ -112,6 +121,7 @@d94b43b to
c710a3d
Compare
|
Built The CI fails because of #370456 |
|
Please add the PR link as comments on the patches for reference |
|
This is not really sufficient because GitHub will GC the old commits. The only truly safe way to vendor active PRs is to vendor the patches in tree. ( |
In that case, the best solution would be to download patches from cache and vendor it. This PR prevents random hash failures if someone does a mass rebuild of |
|
I gave up on creating False positives are:
I gave up after seeing those two |
c710a3d to
b812c65
Compare
|
Looks like there is no interest in reviewing this, so I will just close it |
If PR change, the patch will fail with hash mismatch.
Found using
rg 'url ?= ?"https://github.com/.+/pull/\d+.(diff|patch)"'Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.