mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
etcher: fix desktop file
This commit is contained in:
parent
cc2c11d543
commit
3015c82eca
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user