lol

treewide: enable strictDeps in bootstrap packages

Artturin f002ffed 39b85d1c

+36 -3
+1
pkgs/build-support/expand-response-params/default.nix
··· 3 3 stdenv.mkDerivation { 4 4 name = "expand-response-params"; 5 5 src = ./expand-response-params.c; 6 + strictDeps = true; 6 7 # Work around "stdenv-darwin-boot-2 is not allowed to refer to path 7 8 # /nix/store/...-expand-response-params.c" 8 9 unpackPhase = ''
+1
pkgs/build-support/fetchurl/default.nix
··· 14 14 mirrorsFile = 15 15 buildPackages.stdenvNoCC.mkDerivation ({ 16 16 name = "mirrors-list"; 17 + strictDeps = true; 17 18 builder = ./write-mirror-list.sh; 18 19 preferLocalBuild = true; 19 20 } // mirrors);
+1
pkgs/build-support/nuke-references/default.nix
··· 14 14 stdenvNoCC.mkDerivation { 15 15 name = "nuke-references"; 16 16 17 + strictDeps = true; 17 18 dontUnpack = true; 18 19 dontConfigure = true; 19 20 dontBuild = true;
+1 -2
pkgs/build-support/pkg-config-wrapper/default.nix
··· 44 44 inherit pkg-config; 45 45 }; 46 46 47 + strictDeps = true; 47 48 dontBuild = true; 48 49 dontConfigure = true; 49 50 ··· 79 80 + '' 80 81 ln -s ${pkg-config}/share $out/share 81 82 ''; 82 - 83 - strictDeps = true; 84 83 85 84 wrapperName = "PKG_CONFIG_WRAPPER"; 86 85
+1
pkgs/build-support/trivial-builders.nix
··· 528 528 runCommand name 529 529 (substitutions // { 530 530 inherit meta; 531 + strictDeps = true; 531 532 }) 532 533 ('' 533 534 mkdir -p $out/nix-support
+1
pkgs/development/interpreters/perl/default.nix
··· 27 27 inherit sha256; 28 28 }; 29 29 30 + strictDeps = true; 30 31 # TODO: Add a "dev" output containing the header files. 31 32 outputs = [ "out" "man" "devdoc" ] ++ 32 33 optional crossCompiling "mini";
+1
pkgs/development/interpreters/python/setup-hook.nix
··· 5 5 let 6 6 hook = ./setup-hook.sh; 7 7 in runCommand "python-setup-hook.sh" { 8 + strictDeps = true; 8 9 inherit sitePackages; 9 10 } '' 10 11 cp ${hook} hook.sh
+2
pkgs/development/libraries/expat/default.nix
··· 23 23 sha256 = "sha256-95uPkEt0nj4NIK/q3s+CScVbLjLU67CJrjeN9HncryU="; 24 24 }; 25 25 26 + strictDeps = true; 27 + 26 28 outputs = [ "out" "dev" ]; # TODO: fix referrers 27 29 outputBin = "dev"; 28 30
+1
pkgs/development/libraries/gmp/6.x.nix
··· 28 28 outputs = [ "out" "dev" "info" ]; 29 29 passthru.static = self.out; 30 30 31 + strictDeps = true; 31 32 depsBuildBuild = [ buildPackages.stdenv.cc ]; 32 33 nativeBuildInputs = [ m4 ]; 33 34
+1
pkgs/development/libraries/isl/generic.nix
··· 18 18 19 19 inherit patches; 20 20 21 + strictDeps = true; 21 22 buildInputs = [ gmp ]; 22 23 23 24 inherit configureFlags;
+1
pkgs/development/libraries/libelf/default.nix
··· 33 33 # on Darwin, so disable NLS for now. 34 34 ++ lib.optional stdenv.hostPlatform.isDarwin "--disable-nls"; 35 35 36 + strictDeps = true; 36 37 nativeBuildInputs = 37 38 if stdenv.hostPlatform.isNetBSD then [ netbsd.gencat ] else [ gettext ] 38 39 # Need to regenerate configure script with newer version in order to pass
+1
pkgs/development/libraries/libffi/default.nix
··· 21 21 22 22 patches = []; 23 23 24 + strictDeps = true; 24 25 outputs = [ "out" "dev" "man" "info" ]; 25 26 26 27 configureFlags = [
+1
pkgs/development/libraries/libidn2/default.nix
··· 16 16 sha256 = "sha256-dpQM1Od46Ak1eanRlbJf/16Tbp3GJCBoUotDenZ2T5E="; 17 17 }; 18 18 19 + strictDeps = true; 19 20 outputs = [ "bin" "dev" "out" "info" "devdoc" ]; 20 21 21 22 patches = optional stdenv.isDarwin ./fix-error-darwin.patch;
+1
pkgs/development/libraries/libmpc/default.nix
··· 16 16 sha256 = "0n846hqfqvmsmim7qdlms0qr86f1hck19p12nq3g3z2x74n3sl0p"; 17 17 }; 18 18 19 + strictDeps = true; 19 20 buildInputs = [ gmp mpfr ]; 20 21 21 22 doCheck = true; # not cross;
+1
pkgs/development/libraries/libunistring/default.nix
··· 16 16 17 17 outputs = [ "out" "dev" "info" "doc" ]; 18 18 19 + strictDeps = true; 19 20 propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv; 20 21 21 22 configureFlags = [
+1
pkgs/development/libraries/mpfr/default.nix
··· 19 19 20 20 outputs = [ "out" "dev" "doc" "info" ]; 21 21 22 + strictDeps = true; 22 23 # mpfr.h requires gmp.h 23 24 propagatedBuildInputs = [ gmp ]; 24 25
+1
pkgs/development/libraries/zlib/default.nix
··· 44 44 ./fix-configure-issue-cross.patch 45 45 ]; 46 46 47 + strictDeps = true; 47 48 outputs = [ "out" "dev" ] 48 49 ++ lib.optional splitStaticOutput "static"; 49 50 setOutputFlags = false;
+1
pkgs/development/tools/misc/autoconf-archive/default.nix
··· 9 9 sha256 = "sha256-6KbrnSjdy6j/7z+iEWUyOem/I5q6agGmt8/Hzq7GnL0="; 10 10 }; 11 11 12 + strictDeps = true; 12 13 buildInputs = [ xz ]; 13 14 14 15 meta = with lib; {
+1
pkgs/development/tools/misc/autoconf/default.nix
··· 20 20 ./2.71-fix-race.patch 21 21 ]; 22 22 23 + strictDeps = true; 23 24 nativeBuildInputs = [ m4 perl texinfo ]; 24 25 buildInputs = [ m4 ]; 25 26 postBuild = "
+1
pkgs/development/tools/misc/automake/automake-1.16.x.nix
··· 9 9 sha256 = "0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh"; 10 10 }; 11 11 12 + strictDeps = true; 12 13 nativeBuildInputs = [ autoconf perl ]; 13 14 buildInputs = [ autoconf ]; 14 15
+1
pkgs/development/tools/misc/binutils/default.nix
··· 109 109 110 110 outputs = [ "out" "info" "man" ]; 111 111 112 + strictDeps = true; 112 113 depsBuildBuild = [ buildPackages.stdenv.cc ]; 113 114 nativeBuildInputs = [ 114 115 bison
+1
pkgs/development/tools/misc/gnum4/default.nix
··· 14 14 sha256 = "sha256-swapHA/ZO8QoDPwumMt6s5gf91oYe+oyk4EfRSyJqMg="; 15 15 }; 16 16 17 + strictDeps = true; 17 18 doCheck = false; 18 19 19 20 configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ]
+1
pkgs/development/tools/misc/libtool/libtool2.nix
··· 44 44 substituteInPlace build-aux/ltmain.in --replace '#! /usr/bin/env sh' '#!${runtimeShell}' 45 45 ''; 46 46 47 + strictDeps = true; 47 48 nativeBuildInputs = [ autoconf automake help2man m4 perl ]; 48 49 propagatedBuildInputs = [ m4 file ]; 49 50
+1
pkgs/development/tools/misc/patchelf/default.nix
··· 14 14 sha256 = "sha256-uaRvKYkyLrifpPYjfiCDbFe0VapDoyVF6gk7Qx2YL1w="; 15 15 }; 16 16 17 + strictDeps = true; 17 18 setupHook = [ ./setup-hook.sh ]; 18 19 19 20 # fails 8 out of 24 tests, problems when loading libc.so.6
+1
pkgs/development/tools/misc/pkg-config/default.nix
··· 12 12 }; 13 13 14 14 outputs = [ "out" "man" "doc" ]; 15 + strictDeps = true; 15 16 16 17 # Process Requires.private properly, see 17 18 # http://bugs.freedesktop.org/show_bug.cgi?id=4738, migrated to
+1
pkgs/os-specific/linux/kernel-headers/default.nix
··· 14 14 15 15 ARCH = stdenvNoCC.hostPlatform.linuxArch; 16 16 17 + strictDeps = true; 17 18 # It may look odd that we use `stdenvNoCC`, and yet explicit depend on a cc. 18 19 # We do this so we have a build->build, not build->host, C compiler. 19 20 depsBuildBuild = [ buildPackages.stdenv.cc ];
+2
pkgs/stdenv/linux/default.nix
··· 162 162 # stage1. 163 163 ${localSystem.libc} = self.stdenv.mkDerivation { 164 164 pname = "bootstrap-stage0-${localSystem.libc}"; 165 + strictDeps = true; 165 166 version = "bootstrap"; 166 167 buildCommand = '' 167 168 mkdir -p $out ··· 269 270 inherit (prevStage.bintools.bintools) name; 270 271 dontUnpack = true; 271 272 dontBuild = true; 273 + strictDeps = true; 272 274 # We wouldn't need to *copy* all, but it's easier and the result is temporary anyway. 273 275 installPhase = '' 274 276 mkdir -p "$out"/bin
+1
pkgs/tools/compression/bzip2/default.nix
··· 26 26 sha256 = "sha256-FnhwNy4OHe8d5M6iYCClkxzcB/EHXg0veXwv43ZlxbA="; 27 27 }; 28 28 29 + strictDeps = true; 29 30 nativeBuildInputs = [ autoreconfHook ]; 30 31 31 32 patches = [
+1
pkgs/tools/compression/xz/default.nix
··· 16 16 sha256 = "1ps2i8i212n0f4xpq6clp7h13q7m1y8slqvxha9i8d0bj0qgj5si"; 17 17 }; 18 18 19 + strictDeps = true; 19 20 outputs = [ "bin" "dev" "out" "man" "doc" ]; 20 21 21 22 configureFlags = lib.optional enableStatic "--disable-shared";
+1
pkgs/tools/misc/file/default.nix
··· 12 12 sha256 = "sha256-E+Uyx7Nk99V+I9/uoxRxAxUMuQWTpXr4bBDk9uQRYD8="; 13 13 }; 14 14 15 + strictDeps = true; 15 16 nativeBuildInputs = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file; 16 17 buildInputs = [ zlib ] 17 18 ++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
+2
pkgs/tools/system/which/default.nix
··· 9 9 sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl"; 10 10 }; 11 11 12 + strictDeps = true; 13 + 12 14 meta = with lib; { 13 15 homepage = "https://www.gnu.org/software/which/"; 14 16 description = "Shows the full path of (shell) commands";
+1 -1
pkgs/top-level/all-packages.nix
··· 18833 18833 glibcIconv = libc: let 18834 18834 inherit (libc) pname version; 18835 18835 libcDev = lib.getDev libc; 18836 - in runCommand "${pname}-iconv-${version}" {} '' 18836 + in runCommand "${pname}-iconv-${version}" { strictDeps = true; } '' 18837 18837 mkdir -p $out/include 18838 18838 ln -sv ${libcDev}/include/iconv.h $out/include 18839 18839 '';
+1
pkgs/top-level/perl-packages.nix
··· 12373 12373 LocaleGettext = buildPerlPackage { 12374 12374 pname = "gettext"; 12375 12375 version = "1.07"; 12376 + strictDeps = true; 12376 12377 buildInputs = [ pkgs.gettext ]; 12377 12378 src = fetchurl { 12378 12379 url = "mirror://cpan/authors/id/P/PV/PVANDRY/gettext-1.07.tar.gz";