mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
pwsafe: substitute paths in .desktop file
Upstream uses an absolute path in the .desktop file to point to the icon.
This commit is contained in:
parent
38ec35cef2
commit
4d1de6bdac
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
|
||||
# Fix hard coded paths.
|
||||
for f in $(grep -Rl /usr/share/ src) ; do
|
||||
for f in $(grep -Rl /usr/share/ src install/desktop) ; do
|
||||
substituteInPlace $f --replace /usr/share/ $out/share/
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user