From c23dcd72a0a0f5c4e0b63418a8602aa7f131219a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 5 Jul 2017 16:04:54 +0200 Subject: [PATCH] Enable some more debug info --- pkgs/development/libraries/aws-sdk-cpp/default.nix | 1 + pkgs/development/libraries/boehm-gc/default.nix | 1 + pkgs/development/libraries/libsodium/default.nix | 1 + pkgs/development/libraries/openssl/default.nix | 1 + pkgs/development/libraries/sqlite/default.nix | 1 + pkgs/tools/networking/curl/default.nix | 1 + 6 files changed, 6 insertions(+) diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index 974989dc24bf..9f97b18b4d77 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -26,6 +26,7 @@ in stdenv.mkDerivation rec { # FIXME: might be nice to put different APIs in different outputs # (e.g. libaws-cpp-sdk-s3.so in output "s3"). outputs = [ "out" "dev" ]; + separateDebugInfo = stdenv.isLinux; buildInputs = [ cmake curl ]; diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index d32ec6cbf58b..e4311c0a5e9c 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; outputs = [ "out" "dev" "doc" ]; + separateDebugInfo = stdenv.isLinux; configureFlags = [ "--enable-cplusplus" ] diff --git a/pkgs/development/libraries/libsodium/default.nix b/pkgs/development/libraries/libsodium/default.nix index bfe224d28cd6..b508b2fea0eb 100644 --- a/pkgs/development/libraries/libsodium/default.nix +++ b/pkgs/development/libraries/libsodium/default.nix @@ -9,6 +9,7 @@ stdenv.mkDerivation rec { }; outputs = [ "out" "dev" ]; + separateDebugInfo = stdenv.isLinux; enableParallelBuilding = true; diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 2120e60ec6aa..c0296f42406d 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -29,6 +29,7 @@ let outputs = [ "bin" "dev" "out" "man" ]; setOutputFlags = false; + separateDebugInfo = stdenv.isLinux; nativeBuildInputs = [ perl ]; buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders; diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index 5230df995242..21d89c49e7c7 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation { }; outputs = [ "bin" "dev" "out" ]; + separateDebugInfo = stdenv.isLinux; buildInputs = lib.optionals interactive [ readline ncurses ]; diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index d1f7c4112c61..daf5a19b01c2 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { }; outputs = [ "bin" "dev" "out" "man" "devdoc" ]; + separateDebugInfo = stdenv.isLinux; enableParallelBuilding = true;