diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-11 18:30:38 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-11 19:02:50 -0400 |
commit | f4de66977749f733b9a13d5f03550960ff800b0b (patch) | |
tree | 7157970f98302b6d929ae4999e9c874004a53df4 /lib | |
parent | 98a1b899455fe138013770426bd9f0d64da20b64 (diff) | |
download | nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar.gz nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar.bz2 nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar.lz nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar.xz nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.tar.zst nixpkgs-f4de66977749f733b9a13d5f03550960ff800b0b.zip |
lib/systems/inspect: Fix after assertions
Function are never equal in Nix, so we need to filter out this attribute in ABIs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/inspect.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 9960954e464..c0c283469fe 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -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; }; |