lol

glibc: enable strictDeps

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

Artturin 0f9ee45a 6b46fa89

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