3
0
Fork 0
forked from mirrors/nixpkgs

lib/systems/inspect: Fix after assertions

Function are never equal in Nix, so we need to filter out this attribute
in ABIs.
This commit is contained in:
John Ericson 2018-05-11 18:30:38 -04:00
parent 98a1b89945
commit f4de669777

View file

@ -3,6 +3,9 @@ with import ./parse.nix { inherit lib; };
with lib.attrsets; with lib.attrsets;
with lib.lists; with lib.lists;
let abis_ = abis; in
let abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) abis_; in
rec { rec {
patterns = rec { patterns = rec {
isi686 = { cpu = cpuTypes.i686; }; isi686 = { cpu = cpuTypes.i686; };