Skip to content

Build fails for nix darwin on MacOS sequoia x86_64 (OCLP) #20

@Buddharta

Description

@Buddharta

Installing mac-app-util with nix darwing flake fails with the following error

error: builder for '/nix/store/wv13fz6a9h1nm5bn3pv1mjma3bh55944-system-alexandria.drv' failed with exit code 1;
       last 10 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/i6nnd3amy08a3f3v8q76nh9kw9434z29-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: setAsdfPathPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > failed to allocate 1048576 bytes at 0x50000000
       > (hint: Try "ulimit -a"; maybe you should increase memory limits.)
       For full logs, run 'nix log /nix/store/wv13fz6a9h1nm5bn3pv1mjma3bh55944-system-alexandria.drv'.
error: 1 dependencies of derivation '/nix/store/3gcrbcgdkrd1v5nlp57sdriyhhs1sd7k-sbcl-2.4.10.drv' failed to build
error: 1 dependencies of derivation '/nix/store/336zl0qqwvpf0h2d3hgzsns4768dc1d4-mac-app-util.drv' failed to build
error: 1 dependencies of derivation '/nix/store/572257bqgamf88rza7f4mnbcyp2di5aj-darwin-system-25.05.20250108.4bc9c90+darwin5.57733bd.drv' failed to build

This seems to be related this bug with sbcl on MacOS sequoia x86_64: https://bugs.launchpad.net/sbcl/+bug/2085706 with versions 2.4.10 and 2.4.9, since I get the same error when running sbcl (version 2.4.10) alone. Maybe changing the dependency version to a newer one fixes the problem.

My system:

 - system: `"x86_64-darwin"`
 - host os: `Darwin 24.0.0, macOS 15.0.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"nixpkgs"`

I have tested this with the nixpkgs-unstable branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions