Nix command/flake

From NixOS Wiki
Revision as of 06:11, 7 August 2020 by Mic92 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This article is about the nix flake subcommand.

Warning: This sub command is currently experimental. To use it, you must enable the flakes feature in your configuration.

Description

Manage Nix flakes

Usage:

$ nix flake COMMAND FLAGS... ARGS..

Flags

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