diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-08-10 18:57:42 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-08-28 15:21:55 -0400 |
commit | 7a22c01b546fb14c9fec8ab1f9bcba2845e354b7 (patch) | |
tree | 4303a6043c41c726441e6861f9868702a4b7b634 /pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix | |
parent | 42e639066b28922bc3629e4994d336a00897f554 (diff) |
apple misc pkgs: `buildInputs` -> `nativeBuildInputs`
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix')
-rw-r--r-- | pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix b/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix index dcbf8b4330882..77123d0057d37 100644 --- a/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix +++ b/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix @@ -1,7 +1,7 @@ { stdenv, appleDerivation, fetchurl, fetchpatch, makeWrapper }: appleDerivation { - buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; patchPhase = '' substituteInPlace mk/bsd.prog.mk \ @@ -27,9 +27,9 @@ appleDerivation { for file in $(find . -name '*.c'); do obj="$(basename "$file" .c).o" objs+=("$obj") - cc -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g + $CC -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g done - cc "''${objs[@]}" -o bsdmake + $CC "''${objs[@]}" -o bsdmake ''; installPhase = '' |