pkgsStatic.pixman: fix build

We can only separate debug info from dynamic libraries and
executables, and a static build of pixman doesn't produce either, and
that means the debug output won't be created and the build would fail.
This commit is contained in:
Alyssa Ross 2021-11-11 12:50:20 +00:00
parent d3f2137f5c
commit b6a5fe2963
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4"; sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4";
}; };
separateDebugInfo = true; separateDebugInfo = !stdenv.hostPlatform.isStatic;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];