linux cross stdenv: Use the cross stdenv and `nativeBuildInputs`

This is a cross derivation---it's built on one platform to run on
another---so let's structure it like all the other cross derivations.
This commit is contained in:
John Ericson 2017-04-25 21:51:24 -04:00
parent f0e1907bee
commit bfa8f30499
1 changed files with 3 additions and 3 deletions

View File

@ -146,11 +146,11 @@ rec {
build = build =
pkgs.buildPackages.stdenv.mkDerivation { pkgs.stdenv.mkDerivation {
name = "stdenv-bootstrap-tools-cross"; name = "stdenv-bootstrap-tools-cross";
crossConfig = pkgs.hostPlatform.config; crossConfig = pkgs.hostPlatform.config;
buildInputs = [ nativeBuildInputs = [
pkgs.buildPackages.nukeReferences pkgs.buildPackages.nukeReferences
pkgs.buildPackages.cpio pkgs.buildPackages.cpio
pkgs.buildPackages.binutils pkgs.buildPackages.binutils
@ -285,7 +285,7 @@ rec {
allowedReferences = []; allowedReferences = [];
}; };
dist = pkgs.buildPackages.stdenv.mkDerivation { dist = pkgs.stdenv.mkDerivation {
name = "stdenv-bootstrap-tools-cross"; name = "stdenv-bootstrap-tools-cross";
buildCommand = '' buildCommand = ''