Flakes: Difference between revisions
imported>Ryan4yin feat: add article "NixOS & Nix Flakes - A Guide for Beginners" by ryan4yin |
imported>Ryan4yin No edit summary |
||
| Line 3: | Line 3: | ||
== Introduction == | == Introduction == | ||
The flakes experimental feature introduces a policy for managing dependencies between Nix expressions and | The flakes experimental feature introduces a policy for managing dependencies between Nix expressions, it improves Nix's reproducibility, composability and usability in the Nix ecosystem. Although it's still an experimental feature, flakes have been widely used by the Nix community. | ||
Technically, a [https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html#description flake] is a file system tree that contains a Nix file named <code>flake.nix</code> in its root directory. | Technically, a [https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html#description flake] is a file system tree that contains a Nix file named <code>flake.nix</code> in its root directory. | ||