Skip to content

_v2-entry-point: Unset LD_PRELOAD until launch

Simon McVittie requested to merge wip/luigipiucco/ld-preload-nixos into master

From: @luigipiucco, via https://gitlab.com/luigipiucco/steamlinuxruntime/-/tree/ld-preload-nixos as of 9141cbec

Steam puts the game overlay renderer library in LD_PRELOAD, which depends on libstdc++. On NixOS, the first call to pressure-vessel-adverb will fail because of this dependency. So we remove the variable in the entry point, and pressure-vessel-unruntime sets it back to the original value (we set SYSTEM_LD_PRELOAD).

Edited by Simon McVittie

Merge request reports

Loading