Skip to content

Commit

Permalink
makeDBusConf: re-add XDG directories for session bus
Browse files Browse the repository at this point in the history
Fixes #23770.
  • Loading branch information
abbradar committed Mar 12, 2017
1 parent 45cfd39 commit c05ac3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/dbus/make-session-conf.xsl
Expand Up @@ -18,7 +18,8 @@

<xsl:template match="/busconfig">
<busconfig>
<xsl:copy-of select="child::node()[name() != 'include' and name() != 'standard_session_servicedirs' and name() != 'servicedir' and name() != 'includedir']" />
<!-- We leave <standard_session_servicedirs/> because it includes XDG dirs and therefore user Nix profile. -->
<xsl:copy-of select="child::node()[name() != 'include' and name() != 'servicedir' and name() != 'includedir']" />

<xsl:for-each select="str:tokenize($serviceDirectories)">
<servicedir><xsl:value-of select="." />/share/dbus-1/services</servicedir>
Expand Down

0 comments on commit c05ac3e

Please sign in to comment.