From d7882444234fa592c0ce350d979aac6c2933a442 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Tue, 4 Jul 2017 21:04:13 -0400 Subject: [PATCH] stdenv / booter: imap -> imap1 Fix the usage of imap as a follow-up to #25543 --- pkgs/stdenv/booter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/booter.nix b/pkgs/stdenv/booter.nix index d459deb6ab5..a1055708f99 100644 --- a/pkgs/stdenv/booter.nix +++ b/pkgs/stdenv/booter.nix @@ -73,7 +73,7 @@ stageFuns: let # Take the list and disallow custom overrides in all but the final stage, # and allow it in the final flag. Only defaults this boolean field if it # isn't already set. - withAllowCustomOverrides = lib.lists.imap + withAllowCustomOverrides = lib.lists.imap1 (index: stageFun: prevStage: # So true by default for only the first element because one # 1-indexing. Since we reverse the list, this means this is true