mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 18:17:21 +03:00
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:
parent
ba785adb28
commit
3c0680b783
@ -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…
Reference in New Issue
Block a user