mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #154836 from rhendric/patch-1
pwsafe: substitute paths in .desktop file
This commit is contained in:
commit
46821ea01c
@ -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