0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

hyperhdr: Fix dlopen path for alsa-lib

This commit is contained in:
eymeric 2025-04-29 08:59:18 +02:00
parent b3c1e31e24
commit 6b6a730201
No known key found for this signature in database

View file

@ -50,6 +50,11 @@ stdenv.mkDerivation rec {
./unvendor.patch ./unvendor.patch
]; ];
postPatch = ''
substituteInPlace sources/sound-capture/linux/SoundCaptureLinux.cpp \
--replace-fail "libasound.so.2" "${lib.getLib alsa-lib}/lib/libasound.so.2"
'';
cmakeFlags = [ cmakeFlags = [
"-DPLATFORM=linux" "-DPLATFORM=linux"
(cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true) (cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true)