mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 18:08:09 +01:00
nongnu: steam: Add ldconfig comment.
* nongnu/packages/steam-client.scm: Add comment explaining why ldconfig must be re-enabled in glibc.
This commit is contained in:
parent
d7b56982b6
commit
3f4febd80b
1 changed files with 18 additions and 0 deletions
|
@ -94,6 +94,24 @@
|
|||
(description ngc-description (default #f))
|
||||
(license ngc-license (default #f)))
|
||||
|
||||
;;; We must re-enable ldconfig in glibc for Steam to prefer our system libraries
|
||||
;;; over Steam's runtime (which has incompatible Mesa and gcc). This is because
|
||||
;;; the Steam script located at
|
||||
;;; Steam/ubuntu12_32/steam-runtime/run.sh
|
||||
;;; overrides $LD_LIBRARY_PATH with the following order enforced:
|
||||
|
||||
;;; * "Pinned" libraries (pinned_libs_{32,64} directories containing symlinks)
|
||||
;;; * Output from `/sbin/ldconfig -XNv`
|
||||
;;; * steam-runtime paths
|
||||
;;; * Existing $LD_LIBRARY_PATH
|
||||
|
||||
;;; Without ldconfig Steam's runtime will have priority over system libraries as
|
||||
;;; well as any paths supplied to Steam in the initial $LD_LIBRARY_PATH.
|
||||
;;; "Pinned" library directories are created after installation, so we can't
|
||||
;;; use those either.
|
||||
|
||||
;;; Disabling Steam's runtime is another solution, however that will add over
|
||||
;;; 80 additional dependencies (see commit: @a12f42e6)
|
||||
(define glibc-for-fhs
|
||||
(package
|
||||
(inherit glibc)
|
||||
|
|
Loading…
Reference in a new issue