darwin.stdenv: drop libssh2 from the bootstrap#276762
darwin.stdenv: drop libssh2 from the bootstrap#276762reckenrode wants to merge 1 commit intoNixOS:stagingfrom
Conversation
curlMinimal includes scp support, but Darwin doesn’t need it. Disabling it removes libssh2 as a bootstrap dependency, allowing it to be updated without forcing a full rebuild of Darwin.
|
Prompted by the rebuilds due to #275641. |
|
Maybe |
Probably not for a few reasons:
The latter in particular requires either duplicating the condition for enabling SCP in I tried the latter approach locally, but it results in an infinite recursion in the Darwin stdenv bootstrap because the bootstrap defines Just changing the override in the Darwin stdenv bootstrap is the least invasive change to drop libssh2 from it. If Darwin is ever able to drop curl completely from the bootstrap, then it might be worth revisiting how |
|
Should be closed by PR #276762 on a quick glance. |
Description of changes
curlMinimal includes scp support, but Darwin doesn’t need it. Disabling it removes libssh2 as a bootstrap dependency, allowing it to be updated without forcing a full rebuild of Darwin.
Targeting staging due to rebuilds (this one last time).
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.