Packages.elm: add nix profile install nixpkgs#foo
directions (#720)
Per https://github.com/DeterminateSystems/nix-installer/issues/511#issuecomment-1588399915, `nix profile install nixpkgs#foo` is apparently the new and improved way to install things on channel-less nix installations. Co-authored-by: Rok Garbas <rok@garbas.si>
This commit is contained in:
parent
85b6cbc291
commit
c2ecdba5e0
|
@ -652,7 +652,9 @@ viewResultItem nixosChannels channel showInstallDetails show item =
|
|||
, id "package-details-nixpkgs"
|
||||
]
|
||||
[ pre [ class "code-block shell-command" ]
|
||||
[ text "nix-env -iA nixpkgs."
|
||||
[ text "# without flakes:\nnix-env -iA nixpkgs."
|
||||
, strong [] [ text item.source.attr_name ]
|
||||
, text "# with flakes:\nnix profile install nixpkgs#"
|
||||
, strong [] [ text item.source.attr_name ]
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue