1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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.lists;
let abis_ = abis; in
let abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) abis_; in
rec {
patterns = rec {
isi686 = { cpu = cpuTypes.i686; };