* Fix PulseAudio's config files installation paths.

svn path=/nixpkgs/trunk/; revision=30383
This commit is contained in:
Eelco Dolstra 2011-11-10 23:27:05 +00:00
parent c8da189d39
commit 1abb8f9a26

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
#gtk gconf
]
++ stdenv.lib.optional jackaudioSupport jackaudio
++ stdenv.lib.optional x11Support xlibs.xlibs;
++ stdenv.lib.optionals x11Support [ xlibs.xlibs xlibs.libXtst xlibs.libXi ];
preConfigure = ''
# Change the `padsp' script so that it contains the full path to
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
${if jackaudioSupport then "--enable-jack" else ""}
'';
installFlags = "pulseconfdir=$(out)/etc dbuspolicydir=$out/etc/dbus-1/system.d xdgautostartdir=$out/etc/xdg/autostart";
installFlags = "sysconfdir=$(out)/etc pulseconfdir=$(out)/etc/pulse";
enableParallelBuilding = true;