vivaldi: Fix usage of xdg-open

This commit is contained in:
Tim Steinbach 2019-07-20 09:57:49 -04:00
parent 8a2c18299c
commit 095e9c0f9b
No known key found for this signature in database
GPG Key ID: 6C654787275A64F1

View File

@ -69,6 +69,8 @@ in stdenv.mkDerivation rec {
cp -r usr/share/{applications,xfce4} "$out"/share
substituteInPlace "$out"/share/applications/*.desktop \
--replace /usr/bin/${vivaldiName} "$out"/bin/vivaldi
substituteInPlace "$out"/share/applications/*.desktop \
--replace vivaldi-stable vivaldi
local d
for d in 16 22 24 32 48 64 128 256; do
mkdir -p "$out"/share/icons/hicolor/''${d}x''${d}/apps