mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
059c9bed55
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.
12 lines
308 B
Plaintext
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;
|
|
}
|