darwin.stdenv: drop curl from the bootstrap#296750
Conversation
The Darwin bootstrap currently requires curl, but it is not strictly required. The bootstrap requires it for two things: * Fetchers; and * As a transitive dependency of llvm-manpages (via Sphinx). For the fetchers, the bootstrap curl can be used. For hatch-vcs, the dependency, its tests can be disabled. Doing this allows curl to be dropped from the Darwin stdenv bootstrap.
|
The evaluation issue should be fixed once #295557 is merged. |
|
So i think you could move forward with this change by removing the overlay nixpkgs/pkgs/stdenv/darwin/make-bootstrap-tools.nix Lines 3 to 18 in 3551c60 |
Would changing the overlay affect your PR? If you’re getting close, this one can wait for it. |
it will not conflict as i remove the overlay as well. my PR is ready to go but i'd like to resolve the open comments before committing. |
|
@ofborg eval |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
The Darwin bootstrap currently requires curl, but it is not strictly required. The bootstrap requires it for two things:
For the fetchers, the bootstrap curl can be used. For hatch-vcs, the dependency, its tests can be disabled. Doing this allows curl to be dropped from the Darwin stdenv bootstrap.
Closes #276762.
Tested by building the stdenvs against staging. I then changed the name of
curland did a new build, confirming that it only triggered a rebuild of curl and not the whole stdenv.Description of changes
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.