lol

darkice: Fix build due to multiple outputs

+17 -7
+17 -7
pkgs/tools/audio/darkice/default.nix
··· 1 - { stdenv, buildEnv, fetchurl, alsaLib, faac, libjack2, lame, libogg, libopus, libpulseaudio, libsamplerate, libvorbis }: 1 + { stdenv, buildEnv, fetchurl 2 + , libjack2, alsaLib, libpulseaudio 3 + , faac, lame, libogg, libopus, libvorbis, libsamplerate 4 + }: 2 5 3 6 let 4 7 oggEnv = buildEnv { 5 8 name = "env-darkice-ogg"; 6 9 paths = [ 7 - libopus libvorbis libogg 10 + libopus.dev libopus libvorbis.dev libvorbis libogg.dev libogg 11 + ]; 12 + }; 13 + 14 + darkiceEnv = buildEnv { 15 + name = "env-darkice"; 16 + paths = [ 17 + lame.out lame.lib libpulseaudio libpulseaudio.dev alsaLib alsaLib.dev libsamplerate.out libsamplerate.dev 8 18 ]; 9 19 }; 10 20 ··· 18 28 }; 19 29 20 30 configureFlags = [ 21 - "--with-alsa-prefix=${alsaLib}" 31 + "--with-alsa-prefix=${darkiceEnv}" 22 32 "--with-faac-prefix=${faac}" 23 33 "--with-jack-prefix=${libjack2}" 24 - "--with-lame-prefix=${lame}" 34 + "--with-lame-prefix=${darkiceEnv}" 25 35 "--with-opus-prefix=${oggEnv}" 26 - "--with-pulseaudio-prefix=${libpulseaudio}" 27 - "--with-samplerate-prefix=${libsamplerate}" 36 + "--with-pulseaudio-prefix=${darkiceEnv}" 37 + "--with-samplerate-prefix=${darkiceEnv}" 28 38 "--with-vorbis-prefix=${oggEnv}" 29 39 # "--with-aacplus-prefix=${aacplus}" ### missing: aacplus 30 40 # "--with-twolame-prefix=${twolame}" ### missing: twolame ··· 34 44 homepage = http://darkice.org/; 35 45 description = "Live audio streamer"; 36 46 license = stdenv.lib.licenses.gpl3; 37 - maintainers = with stdenv.lib.maintainers; [ ikervagyok ]; 47 + maintainers = with stdenv.lib.maintainers; [ ikervagyok fpletz ]; 38 48 }; 39 49 }