ship correct steamclient.so

This commit is contained in:
Robin Appelman 2026-07-08 01:24:27 +02:00
commit ed3dae3c4c

View file

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