3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

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