From 93fb39463835b979c13d53fd2480f7e98a4ea654 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Sep 2023 04:21:43 +0300 Subject: [PATCH] freshBootstrapTools.bootstrapTools: fix eval on darwin ``` error: undefined variable 'system' at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/darwin/make-bootstrap-tools.nix:213:32: 212| 213| bootstrapTools = derivation { | ^ 214| inherit system; ``` fixes eval of `freshBootstrapTools.bootstrapTools` in darwin repl --- pkgs/stdenv/darwin/make-bootstrap-tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/darwin/make-bootstrap-tools.nix b/pkgs/stdenv/darwin/make-bootstrap-tools.nix index 94c61e396b65..46ba25f8603b 100644 --- a/pkgs/stdenv/darwin/make-bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/make-bootstrap-tools.nix @@ -211,7 +211,7 @@ in rec { }; bootstrapTools = derivation { - inherit system; + inherit (localSystem) system; name = "bootstrap-tools"; builder = "${bootstrapFiles.tools}/bin/bash";