Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/tests/release.nix: Fix build if
impure.nix
returns a cross pkgs
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 4d847e280f4b9..463de791a1a65 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -86,4 +86,5 @@ assert args ? system -> !(args ? localSystem); import ./. (builtins.removeAttrs args [ "system" ] // { inherit config overlays localSystem; + crossSystem = { config = "aarch64-unknown-linux-gnu"; }; }) ```
- Loading branch information