treewide: enable strictDeps in bootstrap packages

main
Artturin 2 years ago
parent 39b85d1c2a
commit f002ffed9a
  1. 1
      pkgs/build-support/expand-response-params/default.nix
  2. 1
      pkgs/build-support/fetchurl/default.nix
  3. 1
      pkgs/build-support/nuke-references/default.nix
  4. 3
      pkgs/build-support/pkg-config-wrapper/default.nix
  5. 1
      pkgs/build-support/trivial-builders.nix
  6. 1
      pkgs/development/interpreters/perl/default.nix
  7. 1
      pkgs/development/interpreters/python/setup-hook.nix
  8. 2
      pkgs/development/libraries/expat/default.nix
  9. 1
      pkgs/development/libraries/gmp/6.x.nix
  10. 1
      pkgs/development/libraries/isl/generic.nix
  11. 1
      pkgs/development/libraries/libelf/default.nix
  12. 1
      pkgs/development/libraries/libffi/default.nix
  13. 1
      pkgs/development/libraries/libidn2/default.nix
  14. 1
      pkgs/development/libraries/libmpc/default.nix
  15. 1
      pkgs/development/libraries/libunistring/default.nix
  16. 1
      pkgs/development/libraries/mpfr/default.nix
  17. 1
      pkgs/development/libraries/zlib/default.nix
  18. 1
      pkgs/development/tools/misc/autoconf-archive/default.nix
  19. 1
      pkgs/development/tools/misc/autoconf/default.nix
  20. 1
      pkgs/development/tools/misc/automake/automake-1.16.x.nix
  21. 1
      pkgs/development/tools/misc/binutils/default.nix
  22. 1
      pkgs/development/tools/misc/gnum4/default.nix
  23. 1
      pkgs/development/tools/misc/libtool/libtool2.nix
  24. 1
      pkgs/development/tools/misc/patchelf/default.nix
  25. 1
      pkgs/development/tools/misc/pkg-config/default.nix
  26. 1
      pkgs/os-specific/linux/kernel-headers/default.nix
  27. 2
      pkgs/stdenv/linux/default.nix
  28. 1
      pkgs/tools/compression/bzip2/default.nix
  29. 1
      pkgs/tools/compression/xz/default.nix
  30. 1
      pkgs/tools/misc/file/default.nix
  31. 2
      pkgs/tools/system/which/default.nix
  32. 2
      pkgs/top-level/all-packages.nix
  33. 1
      pkgs/top-level/perl-packages.nix

@ -3,6 +3,7 @@
stdenv.mkDerivation {
name = "expand-response-params";
src = ./expand-response-params.c;
strictDeps = true;
# Work around "stdenv-darwin-boot-2 is not allowed to refer to path
# /nix/store/...-expand-response-params.c"
unpackPhase = ''

@ -14,6 +14,7 @@ let
mirrorsFile =
buildPackages.stdenvNoCC.mkDerivation ({
name = "mirrors-list";
strictDeps = true;
builder = ./write-mirror-list.sh;
preferLocalBuild = true;
} // mirrors);

@ -14,6 +14,7 @@ in
stdenvNoCC.mkDerivation {
name = "nuke-references";
strictDeps = true;
dontUnpack = true;
dontConfigure = true;
dontBuild = true;

@ -44,6 +44,7 @@ stdenv.mkDerivation {
inherit pkg-config;
};
strictDeps = true;
dontBuild = true;
dontConfigure = true;
@ -80,8 +81,6 @@ stdenv.mkDerivation {
ln -s ${pkg-config}/share $out/share
'';
strictDeps = true;
wrapperName = "PKG_CONFIG_WRAPPER";
setupHooks = [

@ -528,6 +528,7 @@ rec {
runCommand name
(substitutions // {
inherit meta;
strictDeps = true;
})
(''
mkdir -p $out/nix-support

@ -27,6 +27,7 @@ let
inherit sha256;
};
strictDeps = true;
# TODO: Add a "dev" output containing the header files.
outputs = [ "out" "man" "devdoc" ] ++
optional crossCompiling "mini";

@ -5,6 +5,7 @@ sitePackages:
let
hook = ./setup-hook.sh;
in runCommand "python-setup-hook.sh" {
strictDeps = true;
inherit sitePackages;
} ''
cp ${hook} hook.sh

@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-95uPkEt0nj4NIK/q3s+CScVbLjLU67CJrjeN9HncryU=";
};
strictDeps = true;
outputs = [ "out" "dev" ]; # TODO: fix referrers
outputBin = "dev";

@ -28,6 +28,7 @@ let self = stdenv.mkDerivation rec {
outputs = [ "out" "dev" "info" ];
passthru.static = self.out;
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ m4 ];

@ -18,6 +18,7 @@ stdenv.mkDerivation {
inherit patches;
strictDeps = true;
buildInputs = [ gmp ];
inherit configureFlags;

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
# on Darwin, so disable NLS for now.
++ lib.optional stdenv.hostPlatform.isDarwin "--disable-nls";
strictDeps = true;
nativeBuildInputs =
if stdenv.hostPlatform.isNetBSD then [ netbsd.gencat ] else [ gettext ]
# Need to regenerate configure script with newer version in order to pass

@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
patches = [];
strictDeps = true;
outputs = [ "out" "dev" "man" "info" ];
configureFlags = [

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-dpQM1Od46Ak1eanRlbJf/16Tbp3GJCBoUotDenZ2T5E=";
};
strictDeps = true;
outputs = [ "bin" "dev" "out" "info" "devdoc" ];
patches = optional stdenv.isDarwin ./fix-error-darwin.patch;

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "0n846hqfqvmsmim7qdlms0qr86f1hck19p12nq3g3z2x74n3sl0p";
};
strictDeps = true;
buildInputs = [ gmp mpfr ];
doCheck = true; # not cross;

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "info" "doc" ];
strictDeps = true;
propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv;
configureFlags = [

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "doc" "info" ];
strictDeps = true;
# mpfr.h requires gmp.h
propagatedBuildInputs = [ gmp ];

@ -44,6 +44,7 @@ stdenv.mkDerivation (rec {
./fix-configure-issue-cross.patch
];
strictDeps = true;
outputs = [ "out" "dev" ]
++ lib.optional splitStaticOutput "static";
setOutputFlags = false;

@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-6KbrnSjdy6j/7z+iEWUyOem/I5q6agGmt8/Hzq7GnL0=";
};
strictDeps = true;
buildInputs = [ xz ];
meta = with lib; {

@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
./2.71-fix-race.patch
];
strictDeps = true;
nativeBuildInputs = [ m4 perl texinfo ];
buildInputs = [ m4 ];
postBuild = "

@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh";
};
strictDeps = true;
nativeBuildInputs = [ autoconf perl ];
buildInputs = [ autoconf ];

@ -109,6 +109,7 @@ stdenv.mkDerivation {
outputs = [ "out" "info" "man" ];
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
bison

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-swapHA/ZO8QoDPwumMt6s5gf91oYe+oyk4EfRSyJqMg=";
};
strictDeps = true;
doCheck = false;
configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ]

@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
substituteInPlace build-aux/ltmain.in --replace '#! /usr/bin/env sh' '#!${runtimeShell}'
'';
strictDeps = true;
nativeBuildInputs = [ autoconf automake help2man m4 perl ];
propagatedBuildInputs = [ m4 file ];

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-uaRvKYkyLrifpPYjfiCDbFe0VapDoyVF6gk7Qx2YL1w=";
};
strictDeps = true;
setupHook = [ ./setup-hook.sh ];
# fails 8 out of 24 tests, problems when loading libc.so.6

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
};
outputs = [ "out" "man" "doc" ];
strictDeps = true;
# Process Requires.private properly, see
# http://bugs.freedesktop.org/show_bug.cgi?id=4738, migrated to

@ -14,6 +14,7 @@ let
ARCH = stdenvNoCC.hostPlatform.linuxArch;
strictDeps = true;
# It may look odd that we use `stdenvNoCC`, and yet explicit depend on a cc.
# We do this so we have a build->build, not build->host, C compiler.
depsBuildBuild = [ buildPackages.stdenv.cc ];

@ -162,6 +162,7 @@ in
# stage1.
${localSystem.libc} = self.stdenv.mkDerivation {
pname = "bootstrap-stage0-${localSystem.libc}";
strictDeps = true;
version = "bootstrap";
buildCommand = ''
mkdir -p $out
@ -269,6 +270,7 @@ in
inherit (prevStage.bintools.bintools) name;
dontUnpack = true;
dontBuild = true;
strictDeps = true;
# We wouldn't need to *copy* all, but it's easier and the result is temporary anyway.
installPhase = ''
mkdir -p "$out"/bin

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-FnhwNy4OHe8d5M6iYCClkxzcB/EHXg0veXwv43ZlxbA=";
};
strictDeps = true;
nativeBuildInputs = [ autoreconfHook ];
patches = [

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "1ps2i8i212n0f4xpq6clp7h13q7m1y8slqvxha9i8d0bj0qgj5si";
};
strictDeps = true;
outputs = [ "bin" "dev" "out" "man" "doc" ];
configureFlags = lib.optional enableStatic "--disable-shared";

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-E+Uyx7Nk99V+I9/uoxRxAxUMuQWTpXr4bBDk9uQRYD8=";
};
strictDeps = true;
nativeBuildInputs = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
buildInputs = [ zlib ]
++ lib.optional stdenv.hostPlatform.isWindows libgnurx;

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
};
strictDeps = true;
meta = with lib; {
homepage = "https://www.gnu.org/software/which/";
description = "Shows the full path of (shell) commands";

@ -18833,7 +18833,7 @@ with pkgs;
glibcIconv = libc: let
inherit (libc) pname version;
libcDev = lib.getDev libc;
in runCommand "${pname}-iconv-${version}" {} ''
in runCommand "${pname}-iconv-${version}" { strictDeps = true; } ''
mkdir -p $out/include
ln -sv ${libcDev}/include/iconv.h $out/include
'';

@ -12373,6 +12373,7 @@ let
LocaleGettext = buildPerlPackage {
pname = "gettext";
version = "1.07";
strictDeps = true;
buildInputs = [ pkgs.gettext ];
src = fetchurl {
url = "mirror://cpan/authors/id/P/PV/PVANDRY/gettext-1.07.tar.gz";

Loading…
Cancel
Save