1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Make nix profile install an alias of nix profile add

This commit is contained in:
Eelco Dolstra 2025-04-10 18:42:04 +02:00
parent b37d1cdd8e
commit fd407141e1
2 changed files with 5 additions and 4 deletions

View file

@ -984,10 +984,12 @@ struct CmdProfile : NixMultiCommand
{"history", []() { return make_ref<CmdProfileHistory>(); }},
{"rollback", []() { return make_ref<CmdProfileRollback>(); }},
{"wipe-history", []() { return make_ref<CmdProfileWipeHistory>(); }},
// 2025-04-05 Deprecated in favor of "add"
{"install", []() { return make_ref<CmdProfileAdd>(); }},
})
{ }
{
aliases = {
{"install", { AliasStatus::Deprecated, {"add"}}},
};
}
std::string description() override
{