Skip to content

vcv-rack: fix 404 on fix-segfault-on-linux.patch - #526617

Closed
axunes wants to merge 1 commit into
NixOS:masterfrom
axunes:vcv-rack-fix-patch-url
Closed

axunes wants to merge 1 commit into
NixOS:masterfrom
axunes:vcv-rack-fix-patch-url

Conversation

@axunes

@axunes axunes commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

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

@nixpkgs-ci
nixpkgs-ci Bot requested review from jpotier and nathyong June 1, 2026 05:10
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! labels Jun 1, 2026
@axunes

axunes commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

claude made a whole ass pr without asking im gonna fix this in a moment it's a one line change anyway

@axunes
axunes force-pushed the vcv-rack-fix-patch-url branch from 2f27677 to 9547a0e Compare June 1, 2026 06:10
GitHub now allows the Pull Requests tab to be disabled, so the patch 404ed. This is the corresponding commit.
@axunes
axunes force-pushed the vcv-rack-fix-patch-url branch from 9547a0e to ac15525 Compare June 1, 2026 06:20
@eclairevoyant eclairevoyant mentioned this pull request Jun 2, 2026
4 tasks done
@eclairevoyant

Copy link
Copy Markdown
Contributor

Mind adding "fixes #527168" to the desc? Didn't see this PR earlier

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/building-error-issue-with-url/78001/8

@afh afh mentioned this pull request Jun 2, 2026
4 tasks done
(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";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attaching the patch here in case it gets gc'd

9f0eb9a0da8e9d6f1729f823555fdac2135214f0.patch

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you prefer to merge this first or for me to deal with it now

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed catching it earlier, but it is required to vendor this per the contribution guide:

https://github.com/NixOS/nixpkgs/blob/b191667197a6fafbf77a1eb06ed1c3d50e5b0d33/pkgs/README.md#vendoring-patches

(in this case, "has a high chance to disappear in the future due to unstable or unreliable URLs" applies)

@ZZBaron ZZBaron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix 👍

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 21, 2026
@pbsds

pbsds commented Jun 29, 2026

Copy link
Copy Markdown
Member

@axunes
axunes deleted the vcv-rack-fix-patch-url branch August 21, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle! backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: vcv-rack

6 participants