From 144018541b20a0aa74ce32120b3a27660fab93dd Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 13 Jun 2023 10:22:06 +0200 Subject: lib.systems.equals: Ignore all function attributes reflectively Co-authored-by: Artturi --- lib/tests/systems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tests') diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 082b3549086..617fb0d18b1 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -69,7 +69,7 @@ lib.runTests ( let modified = assert origValue != arbitraryValue; lib.systems.elaborate "x86_64-linux" // { ${platformAttrName} = arbitraryValue; }; - arbitraryValue = "<>"; + arbitraryValue = x: "<>"; in { expr = lib.systems.equals (lib.systems.elaborate "x86_64-linux") modified; expected = { -- cgit 1.4.1