Unverified Commit 013bb477 authored by Bobby Rong's avatar Bobby Rong
Browse files

nixos/pantheon: allow excluding pantheon-agent-geoclue2

Bash will raise syntax error for sessionCommands if sessionPath is empty.
parent 7c67f006
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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}