nixpkgs/lib/tests
Artturin 764c99481a 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 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 {}) )
```
2024-12-12 21:09:56 +02:00
..
modules lib/types: Test attrsWith type merging 2024-12-03 10:02:47 +01:00
packages-from-directory lib/tests/packages-from-directory: make sure all .nix files parse 2024-01-31 20:30:17 +01:00
check-eval.nix
fetchers.nix lib.fetchers: add tests 2024-09-17 10:51:48 +00:00
filesystem.sh lib.filesystem: Don't test Nix-specific error messages 2023-11-01 18:56:03 +01:00
maintainer-module.nix
maintainers.nix
misc.nix lib.strings.concatMapAttrsStringSep: init 2024-12-06 11:02:26 +08:00
modules.sh lib.types.attrsWith: remove failing test 2024-12-03 10:04:27 +01:00
network.sh lib.network: ipv6 parser from string 2024-06-29 10:02:00 +03:00
nix-for-tests.nix lib.tests: build nix without flaky aws-sdk-cpp 2023-11-18 20:19:10 -08:00
release.nix lib/tests/release.nix: Fix build if impure.nix returns a cross pkgs 2024-12-12 21:09:56 +02:00
sources.sh
systems.nix lib/systems: elaborate properly with non-matching system / config / parsed args (#351608) 2024-11-29 15:48:15 -08:00
teams.nix
test-to-plist-expected.plist
test-with-nix.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00