| 28 Oct 2025 |
Artturin | Ok I can take care of those | 18:03:18 |
emily | no rush | 18:04:09 |
emily | but I do have a PR to attach warnings to them | 18:04:24 |
emily | for system it's kind of annoying, I had to do a __toString thing to stop it from spamming nix search :) | 18:04:45 |
Artturin | :p tests shows only one *Platform attribute missing
platformEquality = «error: attribute 'buildPlatform' missing»; | 18:04:51 |
emily | I can put a PR up for that and handling runCommandNoCC | 18:04:58 |
hexa | We should just point python to python 3 | 18:05:23 |
hexa | It will be a great surprise | 18:05:29 |
Artturin | diff --git a/pkgs/test/top-level/default.nix b/pkgs/test/top-level/default.nix
index a5b44afb8522..e713b617f8dd 100644
--- a/pkgs/test/top-level/default.nix
+++ b/pkgs/test/top-level/default.nix
@@ -61,7 +61,7 @@ lib.recurseIntoAttrs {
pkgsLocal = map nixpkgsFun configsLocal;
pkgsCross = map nixpkgsFun configsCross;
in
- assert lib.all (p: p.buildPlatform == p.hostPlatform) pkgsLocal;
- assert lib.all (p: p.buildPlatform != p.hostPlatform) pkgsCross;
+ assert lib.all (p: p.stdenv.buildPlatform == p.stdenv.hostPlatform) pkgsLocal;
+ assert lib.all (p: p.stdenv.buildPlatform != p.stdenv.hostPlatform) pkgsCross;
pkgs.emptyFile;
}
| 18:05:29 |
Artturin | Removing it completely might be better | 18:06:15 |
Artturin | But not as good of a surprise | 18:06:28 |