mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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;
|
||||
|
||||
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 = {
|
||||
installedTests = nixosTests.installed-tests.pipewire;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user