-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
vcv-rack: Fix broken glfw fork issue #71233
Conversation
No, it doesn't work because the |
You could also pre-fetch the other gitmodules
|
@jonringer yes, I think that is a good idea, esp. as we only need some of them. |
@prusnak thanks, I still had it in my cache. |
18f1ef8
to
0e7dae7
Compare
I've updated the PR. The derivation now pulls the dependencies with |
The revision of the glfw fork that Rack depends on has been removed from GitHub. This causes cloning of the glfw submodule for the Rack git repository to fail. As the glfw fork just adds a function that is only needed on Darwin (and we don't support that platform at the moment) we remove the function call from the Rack source. We can then use the upstream version of glfw. We fetch the rest of the submodules manually as well. See NixOS#71189 for the context.
0e7dae7
to
66eb703
Compare
I confirm that 66eb703 works on my unstable machine! 🎉 I agree this needs backport to |
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.
tested with nix-review, started the GUI, logged into my account and clicked around a bit.
Can someone open a backport PR for this?
Motivation for this change
The commit we previously used of the glfw fork for Rack disappeared. See #71189
It looks like it is easier to patch out that function call, as it isn't needed on Linux. But we still need a newer version of glfw.
Needs backport to 19.09, as Rack is broken there as well.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @