mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 00:43:24 +00:00
764c99481a
In https://www.github.com/NixOS/nixpkgs/pull/341067 `ofborg-eval-lib-tests` fails because it uses `pkgsHostTarget` of the cross pkgs ```diff diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index 4d847e280f4b..7f0099b254f0 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -86,4 +86,6 @@ assert args ? system -> !(args ? localSystem); import ./. (builtins.removeAttrs args [ "system" ] // { inherit config overlays localSystem; -}) +} // (if ((localSystem.system or localSystem) == "x86_64-linux" || (localSystem.system or localSystem) == "aarch64-linux") then { + crossSystem = { config = "aarch64-unknown-linux-gnu"; }; + } else {}) ) ``` |
||
---|---|---|
.. | ||
modules | ||
packages-from-directory | ||
check-eval.nix | ||
fetchers.nix | ||
filesystem.sh | ||
maintainer-module.nix | ||
maintainers.nix | ||
misc.nix | ||
modules.sh | ||
network.sh | ||
nix-for-tests.nix | ||
release.nix | ||
sources.sh | ||
systems.nix | ||
teams.nix | ||
test-to-plist-expected.plist | ||
test-with-nix.nix |