Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Darwin tests are completely broken (failing to eval) #6476

Open
2 tasks done
booxter opened this issue Feb 17, 2025 · 0 comments
Open
2 tasks done

bug: Darwin tests are completely broken (failing to eval) #6476

booxter opened this issue Feb 17, 2025 · 0 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@booxter
Copy link
Contributor

booxter commented Feb 17, 2025

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

It can be reproduced by executing on Darwin:

$ nix build --reference-lock-file flake.lock ./tests#test-all

This can be seen in https://github.com/nix-community/home-manager/actions/runs/13360690687/job/37309875415?pr=6475

       error: assertion '(allDeps isBuiltByBootstrapFilesCompiler [ ((stage1Packages prevStage)) ((darwinPackages prevStage)) ((llvmLibrariesDeps prevStage)) ((llvmToolsDeps prevStage)) ((sdkPackages prevStage)) ((sdkDarwinPackages prevStage)) ])' failed
       at /nix/store/ja4c4d5w9r3jb0yawr9q9fk2y0j55fmm-source/pkgs/stdenv/darwin/default.nix:753:5:
          752|
          753|     assert allDeps isBuiltByBootstrapFilesCompiler [
             |     ^
          754|       (stage1Packages prevStage)

The tests were broken by #6404

There's some difference between Darwin and Linux stdenvs that was not considered in that PR. Darwin stdenv stage1 includes packages like jq and coreutils and gnugrep that I think are not part of Linux stdenv.

Maintainer CC

@rycee @khaneliman

System information

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 24.3.0, macOS 15.3`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/store/wzhdvy8pvcrfc1flrnhrbrpyb0q38pp8-source`
@booxter booxter added bug triage Issues or feature request that have not been triaged yet labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

4 participants