uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/libraries/dbus/make-session-conf.xsl
Normal file
36
pkgs/development/libraries/dbus/make-session-conf.xsl
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
This script copies the original system.conf from the dbus
|
||||
distribution, but sets paths from $serviceDirectories parameter
|
||||
and suid helper from $suidHelper parameter.
|
||||
-->
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
extension-element-prefixes="str"
|
||||
>
|
||||
|
||||
<xsl:output method='xml' encoding="UTF-8" doctype-system="busconfig.dtd" />
|
||||
|
||||
<xsl:param name="serviceDirectories" />
|
||||
<xsl:param name="apparmor" />
|
||||
|
||||
<xsl:template match="/busconfig">
|
||||
<busconfig>
|
||||
<!-- 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']" />
|
||||
|
||||
<!-- configure AppArmor -->
|
||||
<apparmor mode="{$apparmor}"/>
|
||||
|
||||
<xsl:for-each select="str:tokenize($serviceDirectories)">
|
||||
<servicedir><xsl:value-of select="." />/share/dbus-1/services</servicedir>
|
||||
<includedir><xsl:value-of select="." />/etc/dbus-1/session.d</includedir>
|
||||
<includedir><xsl:value-of select="." />/share/dbus-1/session.d</includedir>
|
||||
</xsl:for-each>
|
||||
</busconfig>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
Loading…
Add table
Add a link
Reference in a new issue