diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-03-31 12:01:47 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-03-31 12:01:47 -0700 |
commit | f0fe89357ea79c8a9fb35876a26f70ce7455cfee (patch) | |
tree | 478dc6a2df814f195668c0543b2cf99efbb20c32 /pkgs/applications/misc/rofi | |
parent | 7fce01fd6a809858260124aecef6c8b675002713 (diff) |
rofi: add plugins' share directories to XDG_DATA_DIRS
Diffstat (limited to 'pkgs/applications/misc/rofi')
-rw-r--r-- | pkgs/applications/misc/rofi/wrapper.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/misc/rofi/wrapper.nix b/pkgs/applications/misc/rofi/wrapper.nix index e43614d9d2269..4e69f9cce1452 100644 --- a/pkgs/applications/misc/rofi/wrapper.nix +++ b/pkgs/applications/misc/rofi/wrapper.nix @@ -18,6 +18,7 @@ symlinkJoin { rm $out/bin/rofi makeWrapper ${rofi-unwrapped}/bin/rofi $out/bin/rofi \ --prefix XDG_DATA_DIRS : ${hicolor-icon-theme}/share \ + ${lib.optionalString (plugins != []) ''--prefix XDG_DATA_DIRS : ${lib.concatStringsSep ":" (lib.forEach plugins (p: "${p.out}/share"))}''} \ ${lib.optionalString (theme != null) ''--add-flags "-theme ${theme}"''} \ ${lib.optionalString (plugins != []) ''--add-flags "-plugin-path $out/lib/rofi"''} |