From ed3dae3c4c8f6b60be2fbd0d97fc01b349fdffa8 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 8 Jul 2026 01:24:27 +0200 Subject: [PATCH] ship correct steamclient.so --- nix/srcds/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/srcds/default.nix b/nix/srcds/default.nix index 94e273d..42a5b99 100644 --- a/nix/srcds/default.nix +++ b/nix/srcds/default.nix @@ -8,6 +8,7 @@ autoPatchelfHook, libgcc, curlWithGnuTls, + steamworks-sdk-redist, system, }: let inherit (builtins) fromJSON readFile map toString elem head replaceStrings; @@ -73,9 +74,12 @@ in runHook preInstall cp -rL . $out - chmod -R +w $out + # the steamclient.so included in the depot is 32bit so it wont work + cp ${steamworks-sdk-redist}/lib/steamclient.so $out/bin/steamclient.so + chmod -R +w $out/bin/steamclient.so + runHook postInstall '';