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:
parent
f0e1907bee
commit
bfa8f30499
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue