git.iko.soy/typeable/nixpkgs
on master help sign in
make-bootstrap-tools*: fixup after #16406
f4792cdVladimír Čunát
pkgs/stdenv/darwin/make-bootstrap-tools.nix+4−2
@@ -3,9 +3,11 @@
3with import ../../.. { inherit system; };
3with import ../../.. { inherit system; };
4
4
5rec {
5rec {
6+ coreutils_ = coreutils.override (args: {
6− # We want coreutils without ACL support.
7+ # We want coreutils without ACL support.
7− coreutils_ = coreutils.override (orig: {
8 aclSupport = false;
8 aclSupport = false;
9+ # Our tooling currently can't handle scripts in bin/, only ELFs and symlinks.
10+ singleBinary = "symlinks";
9 });
11 });
10
12
11 build = stdenv.mkDerivation {
13 build = stdenv.mkDerivation {
pkgs/stdenv/linux/make-bootstrap-tools-cross.nix+3−1
@@ -87,9 +87,11 @@ in
87
87
88rec {
88rec {
89
89
90− # We want coreutils without ACL support.
91 coreutilsMinimal = (pkgs.coreutils.override (args: {
90 coreutilsMinimal = (pkgs.coreutils.override (args: {
91+ # We want coreutils without ACL support.
92 aclSupport = false;
92 aclSupport = false;
93+ # Our tooling currently can't handle scripts in bin/, only ELFs and symlinks.
94+ singleBinary = "symlinks";
93 })).crossDrv;
95 })).crossDrv;
94
96
95 curlMinimal = (pkgs.curl.override {
97 curlMinimal = (pkgs.curl.override {
pkgs/stdenv/linux/make-bootstrap-tools.nix+3−1
@@ -5,9 +5,11 @@ with import ../../.. {inherit system;};
5rec {
5rec {
6
6
7
7
8− # We want coreutils without ACL support.
9 coreutilsMinimal = coreutils.override (args: {
8 coreutilsMinimal = coreutils.override (args: {
9+ # We want coreutils without ACL support.
10 aclSupport = false;
10 aclSupport = false;
11+ # Our tooling currently can't handle scripts in bin/, only ELFs and symlinks.
12+ singleBinary = "symlinks";
11 });
13 });
12
14
13 tarMinimal = gnutar.override { acl = null; };
15 tarMinimal = gnutar.override { acl = null; };
pkgs/tools/misc/coreutils/default.nix+4−1
@@ -3,6 +3,7 @@
3, selinuxSupport? false, libselinux ? null, libsepol ? null
3, selinuxSupport? false, libselinux ? null, libsepol ? null
4, autoconf, automake114x, texinfo
4, autoconf, automake114x, texinfo
5, withPrefix ? false
5, withPrefix ? false
6+, singleBinary ? true # you can also pass "symlinks", for example
6}:
7}:
7
8
8assert aclSupport -> acl != null;
9assert aclSupport -> acl != null;
@@ -30,7 +31,9 @@ let
30 outputs = [ "out" "info" ];
31 outputs = [ "out" "info" ];
31
32
32 nativeBuildInputs = [ perl xz.bin ];
33 nativeBuildInputs = [ perl xz.bin ];
33− configureFlags = [ "--enable-single-binary" ]
34+ configureFlags =
35+ optional (singleBinary != false)
36+ ("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}")
34 ++ optional stdenv.isSunOS "ac_cv_func_inotify_init=no";
37 ++ optional stdenv.isSunOS "ac_cv_func_inotify_init=no";
35
38
36 buildInputs = [ gmp ]
39 buildInputs = [ gmp ]