Nix command/flake show
From NixOS Wiki
This article is about the nix flake show
subcommand.
Contents
Description
Show the outputs provided by a flake.
Usage
$ nix flake show FLAGS... FLAKE-URL?
Flags
-
--arg NAME EXPR
argument to be passed to Nix functions -
--argstr NAME STRING
string-valued argument to be passed to Nix functions -
--commit-lock-file
commit changes to the lock file -
--impure
allow access to mutable paths and repositories -
-I
,--include PATH
add a path to the list of locations used to look up <...> file names -
--legacy
show the contents of the 'legacyPackages' output -
--no-eval-cache
do not use the flake evaluation cache -
--no-registries
don't use flake registries -
--no-update-lock-file
do not allow any updates to the lock file -
--no-write-lock-file
do not write the newly generated lock file -
--override-flake ORIGINAL-REF RESOLVED-REF
override a flake registry value -
--override-input INPUT-PATH FLAKE-URL
override a specific flake input (e.g. 'dwarffs/nixpkgs') -
--recreate-lock-file
recreate lock file from scratch -
--update-input INPUT-PATH
update a specific flake input