From b6a5fe2963cef94f2dcbbb13c4c1daf553b2bdba Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 11 Nov 2021 12:50:20 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/pixman/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/pixman/default.nix b/pkgs/development/libraries/pixman/default.nix index d8f2e3bd5599..be41526c4f23 100644 --- a/pkgs/development/libraries/pixman/default.nix +++ b/pkgs/development/libraries/pixman/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4"; }; - separateDebugInfo = true; + separateDebugInfo = !stdenv.hostPlatform.isStatic; nativeBuildInputs = [ pkg-config ];