| 29 Mar 2026 |
eveeifyeve | * Nix-user-chroot (rust rewrite). | 14:26:46 |
K900 | Doesn't solve any of the aforementioned problems | 14:27:05 |
K900 | Physically cannot, actually | 14:27:16 |
eveeifyeve | You sure: https://github.com/nix-community/nix-user-chroot/blob/f194ad992e20e1feb7488d13c6f620790241196b/src/main.rs#L428-L436 | 14:27:48 |
K900 | Yes, very sure | 14:28:08 |
K900 | That's not a solution | 14:28:10 |
eveeifyeve | But toArx fully works even with graphics. | 14:29:19 |
eveeifyeve | * But toArx in the bundlers repo fully works even with graphics. | 14:29:29 |
eveeifyeve | * But toArx in the bundlers repo fully works even with graphics. I have tested it. | 14:29:36 |
K900 | Look | 14:29:42 |
K900 | I can't explain the entire history of Graphics Drivers In Containers Are Completely Fucked to you right now | 14:30:04 |
K900 | But you can go look at the kind of shit Valve is doing to make it even remotely workable | 14:30:16 |
K900 | There are fundamental design issues here that can't be solved by symlinks or bind mounts or whatever | 14:30:44 |
K900 | And fixing that would require an ecosystem wide effort with vendor involvement | 14:31:37 |
K900 | Which, to be clear, I'd love to see happen | 14:31:41 |
K900 | But unless someone wants to throw, like, six figures at it, it probably isn't going to | 14:32:07 |
eveeifyeve | This is in OCI images? | 14:32:28 |
K900 | The best you can hope for is some sort of flatpak-style drivers-in-a-sidecar mechanism | 14:32:30 |
eveeifyeve | * This is in OCI images or application containers? | 14:32:40 |
K900 | This is in any container | 14:32:36 |
K900 | Anything that requires you to combine drivers from one system with software from another | 14:32:52 |
eveeifyeve | * This is in OCI container or application containers? | 14:32:59 |
eveeifyeve | Just try the default bundler in https://github.com/NixOS/bundlers/tree/master just to see if there is issue. Because I am sure that you haven't tried it yet. | 14:34:06 |
K900 | Look I'm not going to set up an entire demo system to prove a point | 14:34:42 |
K900 | But I can promise you there are systems where it's not actually going to work correctly | 14:35:09 |
K900 | Because it working correctly is, again, physically impossible | 14:35:22 |
K900 | If you want to see explosions, just go bundle something from, like, NixOS 24.11, and run it on Fedora Rawhide | 14:36:06 |
eveeifyeve | I only care about bundling something in 26.05 and greater. | 14:36:52 |
eveeifyeve | * I only care about bundling something in 26.05 and greater as that is the supported versions of nixos. | 14:37:17 |
K900 | So you're just going to have the same problem in two years | 14:37:19 |