Skip to content

Commit fa63b71

Browse files
authored
Rename nix profile install to nix profile add (#1058)
In `nix (Nix) 2.32.1` using `nix profile install` gives the following warning: ``` warning: 'install' is a deprecated alias for 'add' ```
1 parent 5efb2d3 commit fa63b71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/Page/Packages.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
648648
]
649649
]
650650
[ pre [ class "code-block shell-command" ]
651-
[ text "nix profile install "
651+
[ text "nix profile add "
652652
, strong [] [ text flakeUrl ]
653653
, text "#"
654654
, em [] [ text item.source.attr_name ]
@@ -773,7 +773,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
773773
[ pre [ class "code-block shell-command" ]
774774
[ text "# without flakes:\nnix-env -iA nixpkgs."
775775
, strong [] [ text item.source.attr_name ]
776-
, text "\n# with flakes:\nnix profile install nixpkgs#"
776+
, text "\n# with flakes:\nnix profile add nixpkgs#"
777777
, strong [] [ text item.source.attr_name ]
778778
]
779779
]

0 commit comments

Comments
 (0)