Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is no longer needed.
- Loading branch information
Showing
4 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6a9c815
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
<nix/config.nix>
should be considered a public api that nix currently exposes. It's used in various places outside of nixpkgs and is quite useful for "trivial" derivations in cases where depending on nixpkgs is undesirable.6a9c815
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need some stable API to bootstrap a minimal nixpkgs.
/bin/sh
is available in the sandbox but is quite limited. There is also<nix/fetchurl.nix>
that can be used to fetch busybox and re-establish the coreutils.6a9c815
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need that since the Nixpkgs bootstrap does not rely on
/bin/sh
or<nix/config.nix>
. It downloads its own bootstrap shell using<nix/fetchurl.nix>
.