1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/pills/08/hello-nix-darwin.txt
Misty De Méo 059c9bed55
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
ce931b9697. Fixing this ensures
the hello example actually builds on Darwin.
2023-03-28 13:57:29 -07:00

12 lines
308 B
Plaintext

with (import <nixpkgs> {});
derivation {
name = "hello";
builder = "${bash}/bin/bash";
args = [ ./hello_builder.sh ];
inherit gnutar gzip gnumake coreutils gawk gnused gnugrep;
gcc = clang;
bintools = clang.bintools.bintools_bin;
src = ./hello-2.10.tar.gz;
system = builtins.currentSystem;
}