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,
|
autoPatchelfHook,
|
||||||
libgcc,
|
libgcc,
|
||||||
curlWithGnuTls,
|
curlWithGnuTls,
|
||||||
|
steamworks-sdk-redist,
|
||||||
system,
|
system,
|
||||||
}: let
|
}: let
|
||||||
inherit (builtins) fromJSON readFile map toString elem head replaceStrings;
|
inherit (builtins) fromJSON readFile map toString elem head replaceStrings;
|
||||||
|
|
@ -73,9 +74,12 @@ in
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
cp -rL . $out
|
cp -rL . $out
|
||||||
|
|
||||||
chmod -R +w $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
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue