From 4d1de6bdac9a352044d254d492c8ee1b1ee2136a Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Wed, 12 Jan 2022 21:54:53 -0500 Subject: [PATCH] pwsafe: substitute paths in .desktop file Upstream uses an absolute path in the .desktop file to point to the icon. --- pkgs/applications/misc/pwsafe/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/pwsafe/default.nix b/pkgs/applications/misc/pwsafe/default.nix index 3549fead8e28..fb12bcad3441 100644 --- a/pkgs/applications/misc/pwsafe/default.nix +++ b/pkgs/applications/misc/pwsafe/default.nix @@ -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