mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 12:25:00 +02:00
ship correct steamclient.so
This commit is contained in:
parent
630fbc6ead
commit
ed3dae3c4c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue