|
4 | 4 | # Allow passing in bootstrap files directly so we can test the stdenv bootstrap process when changing the bootstrap tools
|
5 | 5 | , bootstrapFiles ? let
|
6 | 6 | fetch = { file, sha256, executable ? true }: import <nix/fetchurl.nix> {
|
7 |
| - url = "http://tarballs.nixos.org/stdenv-darwin/x86_64/10cbca5b30c6cb421ce15139f32ae3a4977292cf/${file}"; |
| 7 | + url = "http://tarballs.nixos.org/stdenv-darwin/x86_64/33f59c9d11b8d5014dfd18cc11a425f6393c884a/${file}"; |
8 | 8 | inherit (localSystem) system;
|
9 | 9 | inherit sha256 executable;
|
10 | 10 | }; in {
|
11 |
| - sh = fetch { file = "sh"; sha256 = "0s8a9vpzj6vadq4jmf4r8cargwnsf327hdjydxgqsfxb8y1q39w3"; }; |
12 |
| - bzip2 = fetch { file = "bzip2"; sha256 = "1jqljpjr8mkiv7g5rl5impqx3all8vn1mxxdwa004pr3h48c1zgg"; }; |
13 |
| - mkdir = fetch { file = "mkdir"; sha256 = "17zsjiwnq07i5r85q1hg7f6cnkcgllwy2amz9klaqwjy4vzz4vwh"; }; |
14 |
| - cpio = fetch { file = "cpio"; sha256 = "04hrair58dgja6syh442pswiga5an9nl58ls57yknkn2pq51nx9m"; }; |
15 |
| - tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "103833hrci0vwi1gi978hkp69rncicvpdszn87ffpf1cq0jzpa14"; executable = false; }; |
| 11 | + sh = fetch { file = "sh"; sha256 = "1rx4kg6358xdj05z0m139a0zn4f4zfmq4n4vimlmnwyfiyn4x7wk"; }; |
| 12 | + bzip2 = fetch { file = "bzip2"; sha256 = "104qnhzk79vkbp2yi0kci6lszgfppvrwk3rgxhry842ly1xz2r7l"; }; |
| 13 | + mkdir = fetch { file = "mkdir"; sha256 = "0d91c19xjzmqisncvldv79d7ddzai9l7vcmajhwlwwv74g6da5yl"; }; |
| 14 | + cpio = fetch { file = "cpio"; sha256 = "0lw057bmcqls96j0gv1n3mgl66q31mba7i413cbkkaf0rfzz3dxj"; }; |
| 15 | + tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "13ihbj002pis3fgy1d9c4fi7flca21z9brjsjkklm82h5b4nlwxl"; executable = false; }; |
16 | 16 | }
|
17 | 17 | }:
|
18 | 18 |
|
@@ -96,13 +96,7 @@ in rec {
|
96 | 96 | stdenvSandboxProfile = binShClosure + libSystemProfile;
|
97 | 97 | extraSandboxProfile = binShClosure + libSystemProfile;
|
98 | 98 |
|
99 |
| - extraAttrs = { |
100 |
| - inherit platform; |
101 |
| - parent = last; |
102 |
| - |
103 |
| - # This is used all over the place so I figured I'd just leave it here for now |
104 |
| - secure-format-patch = ./darwin-secure-format.patch; |
105 |
| - }; |
| 99 | + extraAttrs = { inherit platform; parent = last; }; |
106 | 100 | overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
|
107 | 101 | };
|
108 | 102 |
|
@@ -303,9 +297,6 @@ in rec {
|
303 | 297 | inherit platform bootstrapTools;
|
304 | 298 | libc = pkgs.darwin.Libsystem;
|
305 | 299 | shellPackage = pkgs.bash;
|
306 |
| - |
307 |
| - # This is used all over the place so I figured I'd just leave it here for now |
308 |
| - secure-format-patch = ./darwin-secure-format.patch; |
309 | 300 | };
|
310 | 301 |
|
311 | 302 | allowedRequisites = (with pkgs; [
|
|
0 commit comments