!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

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

Load older messages


SenderMessageTime
17 Sep 2024
@aidalgol:matrix.orgaidalgol How can I overlay the steam NixOS module from that branch onto my system configuration? I know how to do this with packages, but not modules. 07:10:25
@k900:0upti.meK900You shouldn't need to07:13:19
@aidalgol:matrix.orgaidalgolOh, right, I see the change to that file is only to the example doc string.07:14:48
18 Sep 2024
@k900:0upti.meK900https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31074#note_4f90f6af86f3bd1871c1d438202b55f73b5afde603:08:33
@k900:0upti.meK900The Libgbm Thing(tm) has landed! 03:08:43
@k900:0upti.meK900 Meaning Mesa 24.3 and up will Just Work in funny bits-of-unstable-on-stable setups 03:09:23
@mjm:midna.devmjmWooo!04:51:33
@mobergmann:matrix.bergnetz.orgmobergmann changed their profile picture.09:47:09
19 Sep 2024
@k900:0upti.meK900Here's another fun one19:38:53
@k900:0upti.meK900Can you guess when our Steam client bootstrap was last updated19:39:01
@atemu12:matrix.orgAtemuThe last time it showed the weird "unpacking somethingsomething" borderless window?19:39:30
@atemu12:matrix.orgAtemuWith the status bar19:39:37
@atemu12:matrix.orgAtemuOh wait you mean our package19:39:47
@atemu12:matrix.orgAtemuProbably when it was first added?19:39:57
20 Sep 2024
@aidalgol:matrix.orgaidalgolDoes it change upstream often?05:32:06
@eyjhb:eyjhb.dkeyJhb
In reply to @k900:0upti.me
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31074#note_4f90f6af86f3bd1871c1d438202b55f73b5afde6
Congrats on the first kinda complicated PR to mesa :D Excited to see this land. Then I don't have to update my dependencies on external repos ever!!
06:01:44
@k900:0upti.meK900
In reply to@aidalgol:matrix.org
Does it change upstream often?
Not very
06:02:43
@k900:0upti.meK900But ours is from 202106:02:45
@k900:0upti.meK900lol06:02:46
@sandro:supersandro.deSandro 🐧https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/steam/steam.nix#L13 for context13:28:27
21 Sep 2024
@luna-null:matrix.orgluna-null joined the room.05:44:33
@aidalgol:matrix.orgaidalgol I tried writing an update script for this, but it blows up when it runs nix-update.
https://github.com/aidalgol/nixpkgs/blob/e59c175cb161dca34279ff49e5bcfd53d7aca089/pkgs/games/steam/update-bootstrap.py
https://gist.github.com/aidalgol/cc5687abd2deee196ad64ecd1a2e6afd
06:48:15
@k900:0upti.meK900Could just write a JSON file I guess06:53:06
@k900:0upti.meK900 @aidalgol try this 10:09:30
@k900:0upti.meK900
--- a/pkgs/os-specific/linux/nvidia-x11/builder.sh
+++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh
@@ -191,14 +191,10 @@ installPhase() {
         ln -srnf "$libname" "$libname_short"
       fi
 
-      if [[ $libname_short =~ libEGL.so || $libname_short =~ libEGL_nvidia.so || $libname_short =~ libGLX.so || $libname_short =~ libGLX_nvidia.so ]]; then
-          major=0
-      else
-          major=1
-      fi
+      soname=$(patchelf --print-soname "$libname")
 
-      if [[ "$libname" != "$libname_short.$major" ]]; then
-        ln -srnf "$libname" "$libname_short.$major"
+      if [[ "$libname" != "$soname" ]]; then
+        ln -srnf "$libname" "$soname"
       fi
     done
10:09:33
@aidalgol:matrix.orgaidalgolRedacted or Malformed Event22:12:05
@aidalgol:matrix.orgaidalgol
In reply to @aidalgol:matrix.org
I tried writing an update script for this, but it blows up when it runs nix-update.
https://github.com/aidalgol/nixpkgs/blob/e59c175cb161dca34279ff49e5bcfd53d7aca089/pkgs/games/steam/update-bootstrap.py
https://gist.github.com/aidalgol/cc5687abd2deee196ad64ecd1a2e6afd
Turns out I have to be in the root of nixpkgs.
22:15:16
@aidalgol:matrix.orgaidalgolhttps://github.com/NixOS/nixpkgs/pull/34360022:28:44
22 Sep 2024
@rane:junkyard.systemsrane [they/them] joined the room.09:52:02
@k900:0upti.meK900Nvidia users please test https://github.com/NixOS/nixpkgs/pull/34370612:11:20

Show newer messages


Back to Room ListRoom Version: 10