glibc: enable strictDeps

verified by building and diffing 'glibc' and 'glibcInfo'

Artturin 0f9ee45a 6b46fa89

+8 -5
+1
pkgs/development/libraries/glibc/common.nix
··· 203 203 204 204 outputs = [ "out" "bin" "dev" "static" ]; 205 205 206 + strictDeps = true; 206 207 depsBuildBuild = [ buildPackages.stdenv.cc ]; 207 208 nativeBuildInputs = [ bison python3Minimal ] ++ extraNativeBuildInputs; 208 209 buildInputs = [ linuxHeaders ] ++ lib.optionals withGd [ gd libpng ] ++ extraBuildInputs;
+1 -1
pkgs/development/libraries/glibc/info.nix
··· 7 7 8 8 configureFlags = [ "--enable-add-ons" ]; 9 9 10 - buildInputs = [ texinfo perl ]; 10 + extraNativeBuildInputs = [ texinfo perl ]; 11 11 12 12 buildPhase = "make info"; 13 13
+6 -4
pkgs/development/libraries/glibc/mtrace.nix
··· 8 8 # `glibc` needs to be overridden here because it's still needed to `./configure` the source in order 9 9 # to have a build environment where we can call the needed make target. 10 10 11 - glibc.overrideAttrs ({ meta ? {}, ... }: { 11 + glibc.overrideAttrs (oldAttrs: { 12 12 pname = "glibc-mtrace"; 13 13 14 14 buildPhase = '' ··· 25 25 mv malloc/mtrace $out/bin/ 26 26 ''; 27 27 28 - # Perl interpreter used for `mtrace`. 29 - buildInputs = [ perl ]; 28 + # Perl checked during configure 29 + nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ perl ]; 30 + # Perl shebang used for `mtrace`. 31 + buildInputs = oldAttrs.buildInputs ++ [ perl ]; 30 32 31 33 # Reset a few things declared by `pkgs.glibc`. 32 34 outputs = [ "out" ]; 33 35 separateDebugInfo = false; 34 36 35 - meta = meta // { 37 + meta = oldAttrs.meta // { 36 38 description = "Perl script used to interpret and provide human readable output of the trace log contained in the file mtracedata, whose contents were produced by mtrace(3)."; 37 39 }; 38 40 })