Nix-shell on Apple M1

I am trying to setup a project using nix-shell on an M1 equipped MacBook. But running nix-shell yields:

error: Package ‘python3.9-pyopenssl-22.0.0’ in /nix/store/17bi51aivsk94y11kb23ayacsljxfin0-nixpkgs/nixpkgs/pkgs/development/python-modules/pyopenssl/default.nix:73 is marked as broken, refusing to evaluate.

Is that just a broken package that I have to live with, or is there an underlying issue that can be solved? I.e. the channel being set for the wrong architecture?

It seems like it’s just a broken package.

Here’s the relevant GitHub issue: MemoryError: Cannot allocate write+execute memory for ffi.callback() · Issue #873 · pyca/pyopenssl · GitHub

1 Like