nixos-search icon indicating copy to clipboard operation
nixos-search copied to clipboard

`flake-info nixpkgs` fails on my `aarch64-darwin` system due to issue paring a package

Open malob opened this issue 3 years ago • 1 comments

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.

malob avatar Aug 18 '22 21:08 malob

Opened https://github.com/NixOS/nix/issues/6922.

We should probably call nixpkgs with --argstr system x86_64-linux in nixos-search though...

ncfavier avatar Aug 18 '22 21:08 ncfavier