etcher: fix desktop file

This commit is contained in:
Angus Trau 2021-08-08 16:54:17 +10:00
parent cc2c11d543
commit 3015c82eca

View File

@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
cp -a usr/share/* $out/share
cp -a opt/balenaEtcher/{locales,resources} $out/share/${pname}
substituteInPlace $out/share/applications/balena-etcher-electron.desktop \
--replace /opt/balenaEtcher/balena-etcher-electron ${pname}
runHook postInstall
'';