Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix flake show --all-systems --json --no-write-lock-file fails on armv7a-linux #179

Closed
grahamc opened this issue Jun 17, 2024 · 1 comment · Fixed by #180
Closed

nix flake show --all-systems --json --no-write-lock-file fails on armv7a-linux #179

grahamc opened this issue Jun 17, 2024 · 1 comment · Fixed by #180
Labels
bug Something isn't working

Comments

@grahamc
Copy link

grahamc commented Jun 17, 2024

Not sure what changed, but nix flake show --all-systems --json --no-write-lock-file is failing to evaluate since just after 07098b4:

      evaluating 'packages.armv7a-linux'...
      error: 'packages.armv7a-linux' is not an attribute set
@oxalica
Copy link
Owner

oxalica commented Jun 18, 2024

It's caused by nixpkgs no longer expose legacyPackages.armv7a-linux anymore.

$ nix eval github:NixOS/nixpkgs#legacyPackages --apply builtins.attrNames
[ "aarch64-darwin" "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "i686-linux" "mipsel-linux" "powerpc64le-linux" "riscv64-linux" "x86_64-darwin" "x86_64-linux" ]

Probably we should follow systems in nixpkgs.lib.systems.flakeExposed instead of maintaining our own list, so it can keep in sync with nixpkgs.

@oxalica oxalica added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants