parsec-bin: avoid patching dylib in share/parsec/skel
Only the main binary needs to be patched, the wrapper script handles everything else.
This commit is contained in:
parent
3b8331a998
commit
0ed4dff7dd
@ -90,6 +90,19 @@ stdenvNoCC.mkDerivation {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Only the main binary needs to be patched, the wrapper script handles
|
||||||
|
# everything else. The libraries in `share/parsec/skel` would otherwise
|
||||||
|
# contain dangling references when copied out of the nix store.
|
||||||
|
dontAutoPatchelf = true;
|
||||||
|
|
||||||
|
fixupPhase = ''
|
||||||
|
runHook preFixup
|
||||||
|
|
||||||
|
autoPatchelf $out/bin
|
||||||
|
|
||||||
|
runHook postFixup
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://parsecgaming.com/";
|
homepage = "https://parsecgaming.com/";
|
||||||
changelog = "https://parsec.app/changelog";
|
changelog = "https://parsec.app/changelog";
|
||||||
|
Loading…
Reference in New Issue
Block a user