From ba785adb282aa8fc27d94a72c465b1038ee738f0 Mon Sep 17 00:00:00 2001 From: Andrew Fontaine Date: Fri, 28 Jan 2022 16:45:08 -0500 Subject: [PATCH] fahcontrol: fix variable substitution for shortcut Because single quotes are used in the sed command, the application shortcut had the literal $out instead of the package path. --- pkgs/applications/science/misc/foldingathome/control.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/misc/foldingathome/control.nix b/pkgs/applications/science/misc/foldingathome/control.nix index 1430881a3f08..e5cc02edcfbe 100644 --- a/pkgs/applications/science/misc/foldingathome/control.nix +++ b/pkgs/applications/science/misc/foldingathome/control.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { installPhase = "cp -ar usr $out"; postFixup = '' - sed -e 's|/usr/bin|$out/bin|g' -i $out/share/applications/FAHControl.desktop + sed -e "s|/usr/bin|$out/bin|g" -i $out/share/applications/FAHControl.desktop wrapProgram "$out/bin/FAHControl" \ --suffix PATH : "${fahviewer.outPath}/bin" \ --set PYTHONPATH "$out/lib/python2.7/dist-packages"