!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

199 Members
Gaming things, my hands are typing words.79 Servers

Load older messages


SenderMessageTime
16 Oct 2024
@k900:0upti.meK900* This time mostly just for readability18:54:38
17 Oct 2024
@atemu12:matrix.orgAtemuIt turns out just today I had a use-case where I needed /var inside steam-run, so thanks a bunch for fixing that07:31:04
@k900:0upti.meK900 very disappointed yaaaaaaaay 07:31:46
19 Oct 2024
@nakibrayan:matrix.imRayan Nakib (ريان نقيب) joined the room.08:14:34
20 Oct 2024
@k900:0upti.meK900So I just had another person report the whole "lib32 packages in lib64" thing19:15:30
@k900:0upti.meK900And that made me think19:15:36
@k900:0upti.meK900About how we can maybe unfuck it somehow19:15:47
@k900:0upti.meK900 Like the reason we can't just assert that all the extraPackages32 are i686 is because Nvidia isn't 19:17:52
@k900:0upti.meK900But maybe we have a way to fix that somehow?19:18:21
@k900:0upti.meK900
nix-repl> linuxPackages_latest.nvidia_x11.lib32.stdenv.hostPlatform.isi686
false
19:19:30
@k900:0upti.meK900 Also doesn't work for my dream setup of extraPackages = pkgs: [ pkgs.foo ] 19:20:58
@k900:0upti.meK900And like AFAICT Nvidia is the only thing doing this19:21:07
@k900:0upti.meK900Can I snipe someone into fixing the Nvidia driver to not do this19:26:31
@atemu12:matrix.orgAtemuCan't we make nvidia not availableOn i686 and filter based on that?20:21:46
@k900:0upti.meK900Wait how would that help20:22:44
@k900:0upti.meK900I'm not seeing it20:22:48
@atemu12:matrix.orgAtemuSorry, I perhaps don't have the issue in my head entirely anymore20:23:25
@atemu12:matrix.orgAtemuCould you restate the constraints?20:23:38
@k900:0upti.meK900Basically what I want is20:23:44
@k900:0upti.meK900
  1. make hardware.graphics.extraPackages take a function of pkgs: [ pkgs.a pkgs.b ]

  2. make it assert that all the packages are for the right architecture

20:24:29
@atemu12:matrix.orgAtemuRight20:24:47
@k900:0upti.meK900 And Nvidia breaks both of those, because the i686-on-x86_64 build of Nvidia is in nvidia_x11.lib32 20:25:14
@k900:0upti.meK900Which is a 64-bit package with a separate lib32 output20:25:23
@atemu12:matrix.orgAtemuCan't we make the outputs dependent on hostPlatform bitness?20:26:54
@k900:0upti.meK900I have no idea how the Nvidia package works20:27:40
@k900:0upti.meK900That's part of the problem20:27:43
@atemu12:matrix.orgAtemuI assume it runs the installer into some prefix20:28:00
@atemu12:matrix.orgAtemuHm, I don't know if we can make it do that in a 32bit stdenv though20:28:28
@k900:0upti.meK900 Like ideally we'd just have hardware.graphics.extraPackages = pkgs: [ hardware.nvidia.package.userspaceBits ] 20:28:29
@k900:0upti.meK900But I have no idea what the package does20:28:55

Show newer messages


Back to Room ListRoom Version: 10