pulseaudio-modules-bt: support git versions of pulseaudio

This commit is contained in:
Gabriel Ebner 2020-11-09 19:10:12 +01:00
parent 4d0ad2783d
commit 7387dc54ef

View file

@ -18,8 +18,12 @@
let
pulseSources = runCommand "pulseaudio-sources" {} ''
mkdir $out
tar -xf ${pulseaudio.src}
mv pulseaudio*/* $out/
if [ -d ${pulseaudio.src} ]; then
ln -s ${pulseaudio.src}/* $out/
else
tar -xf ${pulseaudio.src}
mv pulseaudio*/* $out/
fi
'';
in stdenv.mkDerivation rec {