-
Notifications
You must be signed in to change notification settings - Fork 56
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
cpu type error with Mac m1 #184
Comments
The switch in the code is very rudimentary with I'm sure we would all love to see better ARM support, but it's still not here yet. |
on Mac m1 mini, I git cloned the repo, then ran
nix-shell ./ci.nix
appear to be getting bad cpu type with names mentioning Mac OS x86 on m1 chip
building '/nix/store/y8v3hq9adc1fkhciv2p5m83796bzmmkm-dhall-1.32.0-x86_64-macos.tar.bz2.drv'...
trying https:/dhall-lang/dhall-haskell/releases/download/1.32.0/dhall-1.32.0-x86_64-macos.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 670 100 670 0 0 1969 0 --:--:-- --:--:-- --:--:-- 1970
100 3002k 100 3002k 0 0 2314k 0 0:00:01 0:00:01 --:--:-- 4370k
building '/nix/store/njv5nxypaqm45pd14f0rsqlmaw75w8lw-dhall-json-1.4.1-x86_64-macos.tar.bz2.drv'...
trying https:/dhall-lang/dhall-haskell/releases/download/1.26.1/dhall-json-1.4.1-x86_64-macos.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 674 100 674 0 0 2168 0 --:--:-- --:--:-- --:--:-- 2174
100 10.0M 100 10.0M 0 0 9.9M 0 0:00:01 0:00:01 --:--:-- 25.2M
building '/nix/store/byw97gmvd1h3lcwdiwxp1jmdixrf0z2j-dhall-simple.drv'...
unpacking sources
unpacking source archive /nix/store/cpnkcr7drghx8il4iwxdllvak8ak51ha-dhall-1.32.0-x86_64-macos.tar.bz2
source root is bin
setting SOURCE_DATE_EPOCH to timestamp 1589062082 of file bin/dhall
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
/nix/store/0qlq4s175mzlx9g0aqcdk95j92g1z7mf-stdenv-darwin/setup: line 1367: /nix/store/hql0mdgjbiax4qhm3i6hk8371c9fs2af-dhall-simple/bin/dhall: Bad CPU type in executable
error: builder for '/nix/store/byw97gmvd1h3lcwdiwxp1jmdixrf0z2j-dhall-simple.drv' failed with exit code 126;
last 10 log lines:
> source root is bin
> setting SOURCE_DATE_EPOCH to timestamp 1589062082 of file bin/dhall
> patching sources
> updateAutotoolsGnuConfigScriptsPhase
> configuring
> no configure script, doing nothing
> building
> no Makefile, doing nothing
> installing
> /nix/store/0qlq4s175mzlx9g0aqcdk95j92g1z7mf-stdenv-darwin/setup: line 1367: /nix/store/hql0mdgjbiax4qhm3i6hk8371c9fs2af-dhall-simple/bin/dhall: Bad CPU type in executable
I'm new to nix and macOS dev am not sure what to do. I will use a different computer for now.
The text was updated successfully, but these errors were encountered: