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 '';