mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
Merge pull request #176901 from alyssais/release-cross
release-cross.nix: fix cross bootstrap tools eval
This commit is contained in:
commit
97bdf4893d
@ -306,8 +306,6 @@ rec {
|
||||
|
||||
# BSDs
|
||||
|
||||
amd64-netbsd = lib.warn "The amd64-netbsd system example is deprecated. Use x86_64-netbsd instead." x86_64-netbsd;
|
||||
|
||||
x86_64-netbsd = {
|
||||
config = "x86_64-unknown-netbsd";
|
||||
libc = "nblibc";
|
||||
|
@ -1,11 +1,16 @@
|
||||
{system ? builtins.currentSystem}:
|
||||
|
||||
let
|
||||
make = crossSystem: import ./make-bootstrap-tools.nix {
|
||||
localSystem = { inherit system; };
|
||||
inherit crossSystem;
|
||||
inherit (releaseLib) lib;
|
||||
releaseLib = import ../../top-level/release-lib.nix {
|
||||
# We're not using any functions from release-lib.nix that look at
|
||||
# supportedSystems.
|
||||
supportedSystems = [];
|
||||
};
|
||||
|
||||
make = crossSystem: import ./make-bootstrap-tools.nix {
|
||||
pkgs = releaseLib.pkgsForCross crossSystem system;
|
||||
};
|
||||
lib = import ../../../lib;
|
||||
in lib.mapAttrs (n: make) (with lib.systems.examples; {
|
||||
armv5tel = sheevaplug;
|
||||
pogoplug4 = pogoplug4;
|
||||
|
Loading…
Reference in New Issue
Block a user