mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 22:51:21 +00:00
discord: expose stageModules to allow overriding
(cherry picked from commit 52ecd13b26)
This commit is contained in:
committed by
github-actions[bot]
parent
e072e4b41b
commit
56d953ab53
@@ -221,7 +221,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
inherit libPath;
|
||||
inherit libPath stageModules;
|
||||
|
||||
autoPatchelfIgnoreMissingDeps = [
|
||||
"libssl.so.1.1"
|
||||
@@ -260,7 +260,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
|
||||
--prefix LD_LIBRARY_PATH : ${finalAttrs.libPath}:$out/opt/${binaryName} \
|
||||
${lib.strings.optionalString disableUpdates "--run ${lib.getExe disableBreakingUpdates}"} \
|
||||
--run "${stageModules} $out/opt/${binaryName}/modules" \
|
||||
--run "${finalAttrs.stageModules} $out/opt/${binaryName}/modules" \
|
||||
--add-flags ${lib.escapeShellArg commandLineArgs}
|
||||
|
||||
ln -s $out/opt/${binaryName}/${binaryName} $out/bin/
|
||||
|
||||
Reference in New Issue
Block a user