mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
vivaldi: add commandLineArgs
This commit is contained in:
parent
eb7f3c3771
commit
ce08f09cc9
@ -11,6 +11,7 @@
|
|||||||
, isSnapshot ? false
|
, isSnapshot ? false
|
||||||
, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
|
, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
|
||||||
, enableWidevine ? false, vivaldi-widevine ? null
|
, enableWidevine ? false, vivaldi-widevine ? null
|
||||||
|
, commandLineArgs ? ""
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -85,6 +86,7 @@ in stdenv.mkDerivation rec {
|
|||||||
"$out"/share/icons/hicolor/''${d}x''${d}/apps/vivaldi.png
|
"$out"/share/icons/hicolor/''${d}x''${d}/apps/vivaldi.png
|
||||||
done
|
done
|
||||||
wrapProgram "$out/bin/vivaldi" \
|
wrapProgram "$out/bin/vivaldi" \
|
||||||
|
--add-flags ${lib.escapeShellArg commandLineArgs} \
|
||||||
--suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \
|
--suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \
|
||||||
${lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"}
|
${lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"}
|
||||||
'' + lib.optionalString enableWidevine ''
|
'' + lib.optionalString enableWidevine ''
|
||||||
|
Loading…
Reference in New Issue
Block a user