summary refs log tree commit diff
path: root/pkgs/servers/pulseaudio
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-08 11:51:10 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:56 +0200
commit8db97583ae35fbefbdfced150ea86289b66ffc7b (patch)
tree5c428412a128f511de0604372b69c13c0b1e9527 /pkgs/servers/pulseaudio
parente0ed398346bbd84e42931df7fd88a3b2427c0049 (diff)
downloadnixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.gz
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.bz2
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.lz
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.xz
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.zst
nixpkgs-8db97583ae35fbefbdfced150ea86289b66ffc7b.zip
pulseaudio: split the "dev" output
This is meant mainly for the `libpulseaudio` attribute.
Diffstat (limited to 'pkgs/servers/pulseaudio')
-rw-r--r--pkgs/servers/pulseaudio/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
index d3fa49a38d0..530f43fa819 100644
--- a/pkgs/servers/pulseaudio/default.nix
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
 
   patches = [ ./caps-fix.patch ];
 
+  outputs = [ "dev" "out" ];
+
   nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
 
   propagatedBuildInputs =
@@ -111,8 +113,8 @@ stdenv.mkDerivation rec {
   postInstall = lib.optionalString libOnly ''
     rm -rf $out/{bin,share,etc,lib/{pulse-*,systemd}}
     sed 's|-lltdl|-L${libtool.lib}/lib -lltdl|' -i $out/lib/libpulsecore-${version}.la
-    _moveToOutput lib/cmake "$dev"
-  '';
+  ''
+    + ''_moveToOutput lib/cmake "$dev" '';
 
   meta = {
     description = "Sound server for POSIX and Win32 systems";