Flakes: Difference between revisions

imported>Ryan4yin
feat: update flake's input schema
imported>Ryan4yin
mNo edit summary
Line 3: Line 3:
== Introduction ==
== Introduction ==


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.
The flakes experimental feature introduces a policy for managing dependencies between Nix expressions, it improves 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.