mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
nixos/pantheon: allow excluding pantheon-agent-geoclue2
Bash will raise syntax error for sessionCommands if sessionPath is empty.
(cherry picked from commit 013bb477b4)
This commit is contained in:
committed by
github-actions[bot]
parent
194e4cf077
commit
4366a375ee
@@ -113,6 +113,7 @@ in
|
||||
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then
|
||||
true
|
||||
${concatMapStrings (p: ''
|
||||
if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
|
||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name}
|
||||
|
||||
Reference in New Issue
Block a user