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.
This commit is contained in:
Andrew Fontaine 2022-01-28 16:46:23 -05:00
parent ba785adb28
commit 3c0680b783
No known key found for this signature in database
GPG key ID: 7D1798E369A7C55D

View file

@ -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 = ''