You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with the base debian image hosted on GHCR doesn't work on M1 macs and fails with the following error. Assuming it is because Nix installed on x86 hardware but is installing packages on arm64.
Building the base image locally and referencing that works as expected.
#8 18.69 copying path '/nix/store/7b2z05mgfwgb58ya4i3gynhvjw22v29q-xz-5.2.5-bin' from 'https://cache.nixos.org'...
#8 18.74 copying path '/nix/store/j72mw6h364nmk7l3mq6gqwjd568l7r8l-perl-5.34.1' from 'https://cache.nixos.org'...
#8 24.70 copying path '/nix/store/hfcv57qibyrqha8gmnk0mkz6k9z3krhy-sqlite-3.38.3' from 'https://cache.nixos.org'...
#8 24.95 copying path '/nix/store/lq3ljqhz6zwkwsyvjyw7750n35psz4fs-openssl-1.1.1o-bin' from 'https://cache.nixos.org'...
#8 25.14 copying path '/nix/store/01kia41csjia67pry1rv828i9pvnnqfq-python3-3.9.12' from 'https://cache.nixos.org'...
#8 36.30 copying path '/nix/store/v3gg98k5gd0fjfx1wf6vvjmj2idk1gg6-openssl-1.1.1o-dev' from 'https://cache.nixos.org'...
#8 36.47 copying path '/nix/store/g146gm78fviybvpdipvmgchv5ikv9d4h-stdenv-linux' from 'https://cache.nixos.org'...
#8 36.49 copying path '/nix/store/sm20x1x5mly3r9adv751ipczbq8p66a5-zlib-1.2.12-dev' from 'https://cache.nixos.org'...
#8 36.53 copying path '/nix/store/vyyar1czkx02agclv9z60mbsmh54l5aq-nodejs-16.15.0' from 'https://cache.nixos.org'...
#8 42.88 error: unable to load seccomp BPF program: Invalid argument
#8 42.88 (use '--show-trace' to show detailed location information)
------
executor failed running [/bin/bash -o pipefail -c nix-env -if environment.nix]: exit code: 1
Error: Docker build failed
The workaround is fine but ideally nixpacks works on all architectures. I think it might make sense to revert back to the old way of setting the base image.
Thoughts @wyzlle
The text was updated successfully, but these errors were encountered:
Building with the base debian image hosted on GHCR doesn't work on M1 macs and fails with the following error. Assuming it is because Nix installed on x86 hardware but is installing packages on arm64.
Building the base image locally and referencing that works as expected.
The workaround is fine but ideally nixpacks works on all architectures. I think it might make sense to revert back to the old way of setting the base image.
Thoughts @wyzlle
The text was updated successfully, but these errors were encountered: