nixos-search
nixos-search copied to clipboard
`flake-info nixpkgs` fails on my `aarch64-darwin` system due to issue paring a package
Running nix run github:nixos/nixos-search -- --json nixpkgs {22.05,unstable} on my aarch64-darwin system produces the following error:
Error: Getting nixpkgs info caused an error: Could not parse packages
Caused by:
0: cgoban.meta.available: expected value at line 338450 column 5
1: expected value at line 338450 column 5
I assume this is due to,
assert (stdenv.isDarwin && stdenv.isx86_64)
being present in jdk-darwin-base.nix, which was added in https://github.com/NixOS/nixpkgs/pull/125184.
Opened https://github.com/NixOS/nix/issues/6922.
We should probably call nixpkgs with --argstr system x86_64-linux in nixos-search though...