Skip to content

Commit 99d63d0

Browse files
committed
tests.top-level.platformEquality: Fix use of alias
1 parent 708d213 commit 99d63d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/test/top-level/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ lib.recurseIntoAttrs {
6161
pkgsLocal = map nixpkgsFun configsLocal;
6262
pkgsCross = map nixpkgsFun configsCross;
6363
in
64-
assert lib.all (p: p.buildPlatform == p.hostPlatform) pkgsLocal;
65-
assert lib.all (p: p.buildPlatform != p.hostPlatform) pkgsCross;
64+
assert lib.all (p: p.stdenv.buildPlatform == p.stdenv.hostPlatform) pkgsLocal;
65+
assert lib.all (p: p.stdenv.buildPlatform != p.stdenv.hostPlatform) pkgsCross;
6666
pkgs.emptyFile;
6767
}

0 commit comments

Comments
 (0)