fix: typo

This commit is contained in:
Ryan Yin
2023-06-28 18:06:57 +08:00
parent 16f45aee5b
commit 3272a9ee9e
2 changed files with 2 additions and 6 deletions

View File

@@ -8,9 +8,9 @@ Flakes is one of the most significant changes the nix project has ever seen.[^2]
The benefits of Flakes are obvious, and the entire NixOS community likes it very much. Currently, more than half of the users are using Flakes[^3], so we're pretty sure that Flakes will never be deprecated.
:warning: But **Flakes is still an experimental feature**, there are still some problems with it, so it is likely to introduce some breaking changes in the process of stablizing it, and its uncertain how greatly the breaking changes will be.
:warning: But **Flakes is still an experimental feature**, there are still some problems with it, it is likely to introduce some breaking changes in the process of stablizing it, and its uncertain how greatly the breaking changes will be.
Overall, I stll recommend using Flakes, as this book is written around NixOS and Flakes. However, please be prepared for potential problems caused by upcoming breaking changes.
Overall, I still recommend everyone to use Flakes, this book is also written around NixOS and Flakes after all, but please be prepared for the problems that may be caused by the upcomming breaking changes.
## Nix Flakes and Classic Nix
@@ -18,8 +18,6 @@ As `nix-command` and `flakes` are still experimental features, the official docu
Here are the classic Nix commands and related concepts that are no longer needed after enabling `nix-command` and `flakes`. When searching for information, you can safely ignore them:
GitHub Copilot: Here's an optimized version of the text:
1. `nix-channel`: `nix-channel` manages software package versions through stable/unstable/test channels, similar to other package management tools such as apt/yum/pacman.
1. In Flakes, the functionality of `nix-channel` is completely replaced by `inputs` in `flake.nix`.
2. `nix-env`: `nix-env` is a core command-line tool for classic Nix used to manage software packages in the user environment.