1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 12:36:01 +01:00

Merge pull request #13224 from NixOS/nix-profile-add

Rename `nix profile install` to `nix profile add`
This commit is contained in:
Eelco Dolstra 2025-05-20 20:15:31 +02:00 committed by GitHub
commit e22142e11a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 75 deletions

View file

@ -849,7 +849,7 @@ RawInstallablesCommand::RawInstallablesCommand()
void RawInstallablesCommand::applyDefaultInstallables(std::vector<std::string> & rawInstallables)
{
if (rawInstallables.empty()) {
// FIXME: commands like "nix profile install" should not have a
// FIXME: commands like "nix profile add" should not have a
// default, probably.
rawInstallables.push_back(".");
}