mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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