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

M1 Mac support #15

Open
srid opened this issue Dec 23, 2021 · 0 comments
Open

M1 Mac support #15

srid opened this issue Dec 23, 2021 · 0 comments

Comments

@srid
Copy link

srid commented Dec 23, 2021

The x86 version of Idris2 in nixpkgs is working, so we could use that in theory instead of doing native support. It would be great if the 'nix flake new' generated project worked seamlessly with it. Currently:

❯ nix flake new -t github:claymager/idris2-pkgs mypkg
...
❯ nix develop
warning: creating lock file '/private/tmp/mypkg/flake.lock'
error: flake 'path:/private/tmp/mypkg' does not provide attribute 'devShells.aarch64-darwin.devShell.aarch64-darwin', 'packages.aarch64-darwin.devShell.aarch64-darwin', 'legacyPackages.aarch64-darwin.devShell.aarch64-darwin', 'devShell.aarch64-darwin' or 'defaultPackage.aarch64-darwin'

and

❯ nix --system x86_64-darwin develop
error: a 'x86_64-darwin' with features {} is required to build '/nix/store/k174flg06xlgpmf8x0s2d7rfi2dd2ykn-idris2-0.5.1.drv', but I am a 'aarch64-darwin' with features {benchmark, big-parallel, nixos-test, recursive-nix}
(use '--show-trace' to show detailed location information)
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