fahviewer: 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.
main
Andrew Fontaine 2 years ago
parent ba785adb28
commit 3c0680b783
No known key found for this signature in database
GPG Key ID: 7D1798E369A7C55D
  1. 2
      pkgs/applications/science/misc/foldingathome/viewer.nix

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
unpackPhase = ''
dpkg-deb -x ${src} ./
sed -e 's|/usr/bin|$out/bin|g' -i usr/share/applications/FAHViewer.desktop
sed -e "s|/usr/bin|$out/bin|g" -i usr/share/applications/FAHViewer.desktop
'';
installPhase = ''

Loading…
Cancel
Save