diff options
author | Angus Trau <me@angus.ws> | 2021-08-08 16:54:17 +1000 |
---|---|---|
committer | Angus Trau <me@angus.ws> | 2021-08-08 16:54:17 +1000 |
commit | 3015c82ecad73712579db990c2878980db72b1dd (patch) | |
tree | b8489702da028a12fb6ae1c3f8379c954be460bf /pkgs/tools/misc/etcher | |
parent | cc2c11d54395a1a7972bd8c87512ec1610824c43 (diff) |
etcher: fix desktop file
Diffstat (limited to 'pkgs/tools/misc/etcher')
-rw-r--r-- | pkgs/tools/misc/etcher/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/misc/etcher/default.nix b/pkgs/tools/misc/etcher/default.nix index d0fae336d9d3c..6834179cfe9a2 100644 --- a/pkgs/tools/misc/etcher/default.nix +++ b/pkgs/tools/misc/etcher/default.nix @@ -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 ''; |