From 059c9bed554cd24fcdfcc5f8df59618d23935d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Misty=20De=20M=C3=A9o?= Date: Tue, 28 Mar 2023 13:57:29 -0700 Subject: [PATCH] Pill 8: fix Darwin reference to binutils The Darwin nix still assigns to `binutils`, even though the builder itself was updated to point to `bintools` in ce931b9697343dc781b004834c496edd28b52186. Fixing this ensures the hello example actually builds on Darwin. --- pills/08/hello-nix-darwin.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/08/hello-nix-darwin.txt b/pills/08/hello-nix-darwin.txt index be5381b..735d816 100644 --- a/pills/08/hello-nix-darwin.txt +++ b/pills/08/hello-nix-darwin.txt @@ -5,7 +5,7 @@ derivation { args = [ ./hello_builder.sh ]; inherit gnutar gzip gnumake coreutils gawk gnused gnugrep; gcc = clang; - binutils = clang.bintools.bintools_bin; + bintools = clang.bintools.bintools_bin; src = ./hello-2.10.tar.gz; system = builtins.currentSystem; }