16 Oct 2024 |
K900 | Also here's continued Steam shuffling: https://github.com/NixOS/nixpkgs/pull/349109/files | 18:54:25 |
K900 | * Also here's continued Steam shuffling: https://github.com/NixOS/nixpkgs/pull/349109 | 18:54:28 |
K900 | This time mostly just for readabilty | 18:54:34 |
K900 | * This time mostly just for readability | 18:54:38 |
17 Oct 2024 |
Atemu | It turns out just today I had a use-case where I needed /var inside steam-run, so thanks a bunch for fixing that | 07:31:04 |
K900 | very disappointed yaaaaaaaay | 07:31:46 |
19 Oct 2024 |
| Rayan Nakib (ريان نقيب) joined the room. | 08:14:34 |
20 Oct 2024 |
K900 | So I just had another person report the whole "lib32 packages in lib64" thing | 19:15:30 |
K900 | And that made me think | 19:15:36 |
K900 | About how we can maybe unfuck it somehow | 19:15:47 |
K900 | Like the reason we can't just assert that all the extraPackages32 are i686 is because Nvidia isn't | 19:17:52 |
K900 | But maybe we have a way to fix that somehow? | 19:18:21 |
K900 | nix-repl> linuxPackages_latest.nvidia_x11.lib32.stdenv.hostPlatform.isi686
false
| 19:19:30 |
K900 | Also doesn't work for my dream setup of extraPackages = pkgs: [ pkgs.foo ] | 19:20:58 |
K900 | And like AFAICT Nvidia is the only thing doing this | 19:21:07 |
K900 | Can I snipe someone into fixing the Nvidia driver to not do this | 19:26:31 |
Atemu | Can't we make nvidia not availableOn i686 and filter based on that? | 20:21:46 |
K900 | Wait how would that help | 20:22:44 |
K900 | I'm not seeing it | 20:22:48 |
Atemu | Sorry, I perhaps don't have the issue in my head entirely anymore | 20:23:25 |
Atemu | Could you restate the constraints? | 20:23:38 |
K900 | Basically what I want is | 20:23:44 |
K900 | make hardware.graphics.extraPackages take a function of pkgs: [ pkgs.a pkgs.b ] make it assert that all the packages are for the right architecture | 20:24:29 |
Atemu | Right | 20:24:47 |
K900 | And Nvidia breaks both of those, because the i686-on-x86_64 build of Nvidia is in nvidia_x11.lib32 | 20:25:14 |
K900 | Which is a 64-bit package with a separate lib32 output | 20:25:23 |
Atemu | Can't we make the outputs dependent on hostPlatform bitness? | 20:26:54 |
K900 | I have no idea how the Nvidia package works | 20:27:40 |
K900 | That's part of the problem | 20:27:43 |
Atemu | I assume it runs the installer into some prefix | 20:28:00 |