Skip to content

stdenv: aarch64-darwin eval fails; stdenv/darwin is missing #175

Description

@srid

stdenv/default.nix still does import ./darwin when localSystem.isDarwin, but there is no stdenv/darwin directory. stdenv/README.md lists aarch64-darwin as unsupported; eval does not fail with an unsupported-platform error, it dies on the missing path. Nothing that instantiates pkgs.stdenv on Darwin can evaluate.

Seen from juspay/olai#527 on ci@petit (Darwin 25.5, aarch64-darwin).

Repro

Against corepkgs master (bb98f9ce0fbe) / ekapkgs (fonts branch d78cd92c, same corepkgs lock):

nix eval --impure --expr '
let
  pkgs = import (builtins.fetchTarball "https://github.com/ekala-project/corepkgs/archive/bb98f9ce0fbef041137b42ebc784fb6238bbc718.tar.gz") {
    system = "aarch64-darwin";
  };
in pkgs.stdenv.name
'

Error:

error: path '…/stdenv/darwin' does not exist
         at stdenv/default.nix:48:17:
           48|   stagesDarwin = import ./darwin bootArgs;

Same failure through ekapkgs:

nix eval --impure --expr '
let
  pkgs = import (builtins.fetchTarball "https://github.com/ekala-project/ekapkgs/archive/1bf6fb76074762dad66fe2c3446adab1bf396ae0.tar.gz") {
    system = "aarch64-darwin";
  };
in pkgs.stdenv.name
'

stdenv/ currently has linux/, generic/, cross/, release/ — no darwin/. The archived ekala-project/stdenv README claimed aarch64-darwin support before the reinit (corepkgs#36).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions