mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 07:14:53 +01:00
nongnu: steam: Fix for new installs.
* nongnu/packages/steam-client.scm (steam-client)[arguments]: Modify steam.sh and run.sh in steam runtime to prefer LD_LIBRARY_PATH.
This commit is contained in:
parent
4e84540013
commit
1404b00a49
1 changed files with 14 additions and 1 deletions
|
@ -115,7 +115,20 @@
|
|||
(list "PREFIX=" (string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(mkdir-p "bootstrap-temp")
|
||||
(invoke "tar" "xfa" "bootstraplinux_ubuntu12_32.tar.xz"
|
||||
"-C" "bootstrap-temp")
|
||||
(substitute* "bootstrap-temp/steam.sh"
|
||||
(("export LD_LIBRARY_PATH=\"")
|
||||
"export LD_LIBRARY_PATH=\"${LD_LIBRARY_PATH-}:"))
|
||||
(substitute* "bootstrap-temp/ubuntu12_32/steam-runtime/run.sh"
|
||||
(("^export LD_LIBRARY_PATH=.*")
|
||||
"export LD_LIBRARY_PATH=\"${LD_LIBRARY_PATH-}:$steam_runtime_library_paths\""))
|
||||
(invoke "tar" "cfJ" "bootstraplinux_ubuntu12_32.tar.xz" "-C" "bootstrap-temp"
|
||||
"linux32" "ubuntu12_32" "steam.sh" "steamdeps.txt")
|
||||
(delete-file-recursively "bootstrap-temp")))
|
||||
(add-after 'unpack 'patch-startscript
|
||||
(lambda _
|
||||
(substitute* "steam"
|
||||
|
|
Loading…
Reference in a new issue