From 8ad3441f2d1c50f02f4d1326502a64d8f2bd5fb8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Cugnet Date: Fri, 27 Aug 2021 18:18:41 +0200 Subject: [PATCH] exodus: fix the desktop file patch Escapes for ` and a %u have been added in upstream .desktop file, breaking the patch in the derivation. --- pkgs/applications/blockchains/exodus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index 2d5a3130c655..149b20d0dd21 100644 --- a/pkgs/applications/blockchains/exodus/default.nix +++ b/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;