[WIP] libcapsule: init at 0.20240806.0; libglcapsule: init; libGL: point to libglcapsule and make supporting changes#337995
[WIP] libcapsule: init at 0.20240806.0; libglcapsule: init; libGL: point to libglcapsule and make supporting changes#337995Pandapip1 wants to merge 3 commits intoNixOS:masterfrom
Conversation
|
Edited: https://people.collabora.com/~vivek/libcapsule.pdf is very informative! "Call an isolated set of libraries a capsule" do sound like a good solution. |
15c1d4a to
3163476
Compare
|
Just commenting to check on the progress of this PR |
Progress: ??? / ???, and this isn't my top priority right now (college course load is currently higher than average). |
There was a problem hiding this comment.
| rev = "refs/tags/v${finalAttrs.version}"; | |
| tag = "v${finalAttrs.version}"; |
|
I'll probably just remove the libgl changes from this PR altogether. The PR did a scope creep (which is why it targets master). I don't remember whether libcapsule and the builder I made work. Definitely before replacing libgl, a lot of testing will be required. I'm thankfully on spring break the next week so I can finally get around to some of these PRs. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/runtime-issues-on-different-flake-package-channels/62305/2 |
There was a problem hiding this comment.
TODO: Consider moving to pkgs/build-support
Description of changes
Fixes #9415
Fixes #31189
This will allow for applications that depend on libGL to be run on non-NixOS platforms. This will particularly be useful in the context of nix bundlers, such as https://github.com/ralismark/nix-appimage.
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.