3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #133094 from angustrau/etcher

etcher: fix desktop file
This commit is contained in:
Sandro 2021-08-08 12:05:05 +02:00 committed by GitHub
commit 9924d9231d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
cp -a usr/share/* $out/share cp -a usr/share/* $out/share
cp -a opt/balenaEtcher/{locales,resources} $out/share/${pname} 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 runHook postInstall
''; '';