diff options
Diffstat (limited to 'src/nix/profile-upgrade.md')
-rw-r--r-- | src/nix/profile-upgrade.md | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/nix/profile-upgrade.md b/src/nix/profile-upgrade.md index 39cca428b..57983085f 100644 --- a/src/nix/profile-upgrade.md +++ b/src/nix/profile-upgrade.md @@ -9,19 +9,14 @@ R""( # nix profile upgrade '.*' ``` -* Upgrade a specific package: +* Upgrade a specific package by name: ```console - # nix profile upgrade packages.x86_64-linux.hello + # nix profile upgrade hello ``` -* Upgrade a specific profile element by number: - ```console - # nix profile list - 0 flake:nixpkgs#legacyPackages.x86_64-linux.spotify … - - # nix profile upgrade 0 + # nix profile upgrade packages.x86_64-linux.hello ``` # Description |