File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ stdenv.mkDerivation {
205205
206206 # Fix path to bash in $BINARYWRAPPER
207207 substituteInPlace $BINARYWRAPPER \
208- --replace /bin/bash ${ stdenv . shell } \
208+ --replace-fail /bin/bash ${ stdenv . shell } \
209209 --replace-fail 'CHROME_WRAPPER' 'WRAPPER'
210210
211211 ln -sf $BINARYWRAPPER $out/bin/brave
@@ -217,14 +217,14 @@ stdenv.mkDerivation {
217217 done
218218
219219 # Fix paths
220- substituteInPlace $out/share/applications/brave-browser.desktop \
221- --replace /usr/bin/brave-browser-stable $out/bin/brave
220+ substituteInPlace $out/share/applications/{ brave-browser,com.brave.Browser} .desktop \
221+ --replace-fail /usr/bin/brave-browser-stable $out/bin/brave
222222 substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \
223- --replace /opt/brave.com $out/opt/brave.com
223+ --replace-fail /opt/brave.com $out/opt/brave.com
224224 substituteInPlace $out/share/menu/brave-browser.menu \
225- --replace /opt/brave.com $out/opt/brave.com
225+ --replace-fail /opt/brave.com $out/opt/brave.com
226226 substituteInPlace $out/opt/brave.com/brave/default-app-block \
227- --replace /opt/brave.com $out/opt/brave.com
227+ --replace-fail /opt/brave.com $out/opt/brave.com
228228
229229 # Correct icons location
230230 icon_sizes=("16" "24" "32" "48" "64" "128" "256")
You can’t perform that action at this time.
0 commit comments