Merge pull request #206572 from aacebedo/aacebedo/vivaldi_cmdline
This commit is contained in:
commit
d0377c94e2
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
, 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
|
||||||
, forceDarkMode ? false
|
|
||||||
, commandLineArgs ? ""
|
, commandLineArgs ? ""
|
||||||
, pulseSupport ? stdenv.isLinux, libpulseaudio
|
, pulseSupport ? stdenv.isLinux, libpulseaudio
|
||||||
}:
|
}:
|
||||||
|
@ -80,7 +79,7 @@ in stdenv.mkDerivation rec {
|
||||||
substituteInPlace "$out"/share/applications/*.desktop \
|
substituteInPlace "$out"/share/applications/*.desktop \
|
||||||
--replace /usr/bin/${vivaldiName} "$out"/bin/vivaldi
|
--replace /usr/bin/${vivaldiName} "$out"/bin/vivaldi
|
||||||
substituteInPlace "$out"/share/applications/*.desktop \
|
substituteInPlace "$out"/share/applications/*.desktop \
|
||||||
--replace vivaldi-stable "vivaldi ${lib.optionalString forceDarkMode "--force-dark-mode"}"
|
--replace vivaldi-stable vivaldi
|
||||||
local d
|
local d
|
||||||
for d in 16 22 24 32 48 64 128 256; do
|
for d in 16 22 24 32 48 64 128 256; do
|
||||||
mkdir -p "$out"/share/icons/hicolor/''${d}x''${d}/apps
|
mkdir -p "$out"/share/icons/hicolor/''${d}x''${d}/apps
|
||||||
|
|
Loading…
Reference in a new issue