pipewire: remove direct dependency on PulseAudio
Since PulseAudio is required as a build input, the libraries mistakenly reference the original libpulse.so rather than the custom one.
This commit is contained in:
parent
3377257d0b
commit
994a2fe27c
|
@ -112,6 +112,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
# The rpaths mistakenly points to libpulseaudio instead
|
||||||
|
for file in "$pulse"/lib/*.so; do
|
||||||
|
oldrpath="$(patchelf --print-rpath "$file")"
|
||||||
|
patchelf --set-rpath "$pulse/lib:$oldrpath" "$file"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
installedTests = nixosTests.installed-tests.pipewire;
|
installedTests = nixosTests.installed-tests.pipewire;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue