summary refs log tree commit diff
path: root/pkgs/development/libraries/gtk
diff options
context:
space:
mode:
authorArtemis Tosini <me@artem.ist>2019-10-20 05:51:45 +0000
committerArtemis Tosini <me@artem.ist>2019-10-20 05:51:45 +0000
commit0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7 (patch)
tree8ce742f079fb7fe4e5b8a49c59c17f564f89c559 /pkgs/development/libraries/gtk
parent5b1f864242efefad0b91f1026283768d3c316bb2 (diff)
downloadnixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar.gz
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar.bz2
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar.lz
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar.xz
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.tar.zst
nixpkgs-0a8ac3b6bea6aae97c34aec64431b3a5e18db8a7.zip
gtk3: Enable separated debug info on Linux
When debugging gtk3 errors or errors in applications that use gtk, it
can be useful to have full debuginfo. This adds debug information in a
separate output so it will not bloat normal systems.
Diffstat (limited to 'pkgs/development/libraries/gtk')
-rw-r--r--pkgs/development/libraries/gtk/3.x.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix
index 0e4fddaa010..e0810766ee5 100644
--- a/pkgs/development/libraries/gtk/3.x.nix
+++ b/pkgs/development/libraries/gtk/3.x.nix
@@ -75,6 +75,8 @@ stdenv.mkDerivation rec {
     ./patches/3.0-darwin-x11.patch
   ];
 
+  separateDebugInfo = stdenv.isLinux;
+
   mesonFlags = [
     "-Dtests=false"
   ];