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 check fails for yarn package #42

Open
mkhl opened this issue Mar 2, 2022 · 0 comments
Open

nix flake check fails for yarn package #42

mkhl opened this issue Mar 2, 2022 · 0 comments

Comments

@mkhl
Copy link

mkhl commented Mar 2, 2022

Describe the bug

nix flake check fails for yarn packages

Steps To Reproduce

Steps to reproduce the behavior:

  1. git clone https://github.com/mkhl/yarn-flake-check
  2. cd yarn-flake-check
  3. git checkout serokell
  4. nix flake check

Expected behavior

the checks succeed

Screenshots

error: a 'aarch64-linux' with features {} is required to build '/nix/store/s6grbm91iylhv9lmka8d407782b9xff0-integreties.json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

Metadata

> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.16.11-200.fc35.x86_64, Fedora Linux, 35 (Workstation Edition)`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.1`
 - channels(mkhl): `"nixpkgs"`
 - nixpkgs: `/home/mkhl/.nix-defexpr/channels/nixpkgs`

the same bug exists in mkYarnPackage (NixOS/nixpkgs#162528) but from what i can tell npm works fine (the npm/6 and npm/8 branches of the reproduction)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant