Repository navigation
Conversation
|
claude made a whole ass pr without asking im gonna fix this in a moment it's a one line change anyway |
2f27677 to
9547a0e
Compare
GitHub now allows the Pull Requests tab to be disabled, so the patch 404ed. This is the corresponding commit.
9547a0e to
ac15525
Compare
|
Mind adding "fixes #527168" to the desc? Didn't see this PR earlier |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
| (fetchpatch { | ||
| name = "fix-segfault-on-linux.patch"; | ||
| url = "https://github.com/VCVRack/Rack/pull/1944.patch"; | ||
| url = "https://github.com/VCVRack/Rack/commit/9f0eb9a0da8e9d6f1729f823555fdac2135214f0.patch"; |
There was a problem hiding this comment.
Thanks for the fix, but while we're at it, can we also vendor this patch? In other words, just put the patch file in Nixpkgs. A PR commit is not trustworthy enough:
- It can be garbage collected and go away later. This hasn't happened now, but GitHub is known to remove unreferenced commits.
- It's from a fork, and only usable on the upstream repo by a quirk of how GitHub manages forks. So the source is wrong.
In other words, the new source for this patch also isn't reliable, and vendoring is probably required.
There was a problem hiding this comment.
Attaching the patch here in case it gets gc'd
There was a problem hiding this comment.
do you prefer to merge this first or for me to deal with it now
There was a problem hiding this comment.
I missed catching it earlier, but it is required to vendor this per the contribution guide:
(in this case, "has a high chance to disappear in the future due to unstable or unreliable URLs" applies)
Things done
Changed patch URL to be addressed by the commit instead of the PR (GitHub now allows the Pull Requests tab to be disabled, so the patch 404ed). Same hash, shouldn't need anything tested
Fixes #527168
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.