pulseaudio-modules-bt: support git versions of pulseaudio
This commit is contained in:
parent
4d0ad2783d
commit
7387dc54ef
1 changed files with 6 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue