pkgsStatic.lilv: fix build

This commit is contained in:
Alyssa Ross 2023-12-21 16:55:11 +01:00
parent 294b981465
commit 48c54f64ca

View file

@ -31,7 +31,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libsndfile serd sord sratom ];
propagatedBuildInputs = [ lv2 ];
mesonFlags = [ "-Ddocs=disabled" ];
mesonFlags = [
"-Ddocs=disabled"
# Tests require building a shared library.
(lib.mesonEnable "tests" (!stdenv.hostPlatform.isStatic))
];
passthru = {
tests = {