Flakes: Difference between revisions

edited line to make it more concise
Tags: Reverted Visual edit
removed relevancy for desktop usage section
Tags: Manual revert Visual edit
Line 12: Line 12:
* Flakes also allow for locking references and versions that can then be easily queried and updated programmatically.
* Flakes also allow for locking references and versions that can then be easily queried and updated programmatically.
*  [https://nixos.org/manual/nix/stable/command-ref/new-cli/nix.html Nix command-line interface] accepts flake references for expressions that build, run, and deploy packages.
*  [https://nixos.org/manual/nix/stable/command-ref/new-cli/nix.html Nix command-line interface] accepts flake references for expressions that build, run, and deploy packages.
==== Relevancy for desktop usage ====
Due to their nature of defining inputs specifying their versions in a flake.lock file, flakes, when tracked properly with git or a similar versioning system, can allow the user to specify what version of an input they want from any point in time. Additionally, they allow the user to use development, or -git, versions of programs.


====Enable flakes temporarily====
====Enable flakes temporarily====