diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index af8b69b25ad1..7df444177c5e 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -147,7 +147,7 @@ common = export TMPDIR=$NIX_BUILD_TOP ''; - separateDebugInfo = stdenv.isLinux; + separateDebugInfo = stdenv.isLinux && (is24 -> !enableStatic); enableParallelBuilding = true;