From 5c40b640e6e6fdf7aaf11f75d5e89951cf973749 Mon Sep 17 00:00:00 2001 From: sdelrio Date: Wed, 7 Feb 2024 18:52:35 +0100 Subject: [PATCH] fix: typo in introduction-to-flakes --- docs/nixos-with-flakes/introduction-to-flakes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nixos-with-flakes/introduction-to-flakes.md b/docs/nixos-with-flakes/introduction-to-flakes.md index a93f963..6ce4ba9 100644 --- a/docs/nixos-with-flakes/introduction-to-flakes.md +++ b/docs/nixos-with-flakes/introduction-to-flakes.md @@ -47,7 +47,7 @@ I delved into some details regarding Flakes: After reviewing these resources, it seems that Flakes may be(or may not...) stabilized within two years, possibly accompanied by some breaking changes. -## the New CLI and the Classic CLI +## The New CLI and the Classic CLI Nix introduced two experimental features, `nix-command` and `flakes`, in the year 2020. These features bring forth a new command-line interface (referred to as the New CLI), a standardized Nix package structure definition (known as the Flakes feature), and features like `flake.lock`, similar to version lock files in cargo/npm. @@ -70,7 +70,7 @@ When researching, you can replace them with the corresponding New CLI commands ( 4. `nix-build`: `nix-build` builds Nix packages and places the build results in `/nix/store`, but it does not record them in Nix's declarative configuration. 1. New CLI: `nix-build` is replaced by `nix build`. 5. `nix-collect-garbage`: Garbage collection command used to clean up unused Store Objects in `/nix/store`. - 1. There is a smimilar command in the New CLI, `nix store gc --debug`, but it do not clean the profile generations, so there is currently no alternative for this command. + 1. There is a similar command in the New CLI, `nix store gc --debug`, but it do not clean the profile generations, so there is currently no alternative for this command. 6. And other less commonly used commands are not listed here. 1. You can refer to the detailed command comparison list in [Try to explain nix commands](https://qiita.com/Sumi-Sumi/items/6de9ee7aab10bc0dbead?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en).