exodus: fix the desktop file patch

Escapes for ` and a %u have been added in upstream .desktop file, breaking the
patch in the derivation.
launchpad/nixpkgs/master
Jean-Philippe Cugnet 3 years ago
parent 4ce26be2d3
commit 8ad3441f2d
No known key found for this signature in database
GPG Key ID: DE7B66F71BE85E31
  1. 2
      pkgs/applications/blockchains/exodus/default.nix

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
ln -s $out/bin/Exodus $out/bin/exodus
ln -s $out/exodus.desktop $out/share/applications
substituteInPlace $out/share/applications/exodus.desktop \
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
--replace 'Exec=bash -c "cd \`dirname %k\` && ./Exodus %u"' "Exec=Exodus %u"
'';
dontPatchELF = true;

Loading…
Cancel
Save