Nix command/flake

From NixOS Wiki
Revision as of 15:43, 30 July 2020 by Mic92 (talk | contribs) (See also)
Jump to: navigation, search

This article is about the nix flake subcommand.


Manage Nix flakes


$ nix flake COMMAND FLAGS... ARGS..


no flags at the moment

Available commands

nix flake archive

Copy a flake and all its inputs to a store

nix flake check

Check whether the flake evaluates and run its tests

nix flake clone

Clone flake repository

nix flake info

list info about a given flake

nix flake init

Create a flake in the current directory from a template

nix flake list-inputs

List flake inputs

nix flake new

Create a flake in the specified directory from a template

nix flake show

Show the outputs provided by a flake

nix flake update

Update flake lock file

See also