Skip to content

nix-build Segmentation fault on MacOS Ventura (with sandbox enabled) #6836

@patryk4815

Description

@patryk4815

Describe the bug
Hi.
I don't know how to debug this, but it looks like sandbox cause this issue. When sandbox is disabled nix-build works :)

My current system: MacOS Ventura beta3 + Apple M1 Max

$ nix-build '<nixpkgs>' --check -A htop                                                                                                                                                                 
checking outputs of '/nix/store/smr4vf7rzn6rqxsvq2dvq1lg1wkmrrw0-htop-3.2.1.drv'...
error: builder for '/nix/store/smr4vf7rzn6rqxsvq2dvq1lg1wkmrrw0-htop-3.2.1.drv' failed due to signal 11 (Segmentation fault: 11)

Steps To Reproduce

nix-build '<nixpkgs>' --check -A htop

Expected behavior

Sandbox should work :)

nix-env --version output

$ nix-env --version                                                                                                                                                                                     at
nix-env (Nix) 2.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions