discord: add nvenc library path
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
desktopName,
|
||||
self,
|
||||
autoPatchelfHook,
|
||||
addDriverRunpath,
|
||||
fetchurl,
|
||||
makeDesktopItem,
|
||||
lib,
|
||||
@@ -259,7 +260,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
''} \
|
||||
${lib.strings.optionalString enableAutoscroll "--add-flags \"--enable-blink-features=MiddleClickAutoscroll\""} \
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
|
||||
--prefix LD_LIBRARY_PATH : ${finalAttrs.libPath}:$out/opt/${binaryName} \
|
||||
--prefix LD_LIBRARY_PATH : ${finalAttrs.libPath}:$out/opt/${binaryName}:${addDriverRunpath.driverLink}/lib \
|
||||
${lib.strings.optionalString disableUpdates "--run ${lib.getExe disableBreakingUpdates}"} \
|
||||
--run "${stageModules} $out/opt/${binaryName}/modules" \
|
||||
--add-flags ${lib.escapeShellArg commandLineArgs}
|
||||
|
||||
Reference in New Issue
Block a user