nix3-flake...tch-inputs(1)
π nix3-flake...tch-inputs(1) π
okay bestie, so this is a page from the General Commands Manual β the nix flake prefetch-inputs one. yes the title got mangled by the terminal, no we're not fixing it, it's giving truncated legend energy, moving on β¨
Warning π¨ This program is experimental and its interface is subject to change. so like, don't get attached to the exact flags, she's still figuring herself out π
πΈ Name πΈ
nix flake prefetch-inputs β fetch the inputs of a flake π«Ά
β¨ Synopsis β¨
nix flake prefetch-inputs [optionβ¦] flake-url
π Examples π
- Fetch the inputs of the hydra flake:
# nix flake prefetch-inputs github:NixOS/hydra
π¦ Description π¦
Bestie, this one fetches the inputs of a flake. Why do we care? Because it makes sure they're already available for any subsequent evaluation of that flake. no more surprise downloading mid-evaluation, we love a girl who preps ahead π
And the way it works is recursive β it doesn't just grab the direct inputs of the top-level flake, it goes and gets the transitive inputs too. the entire family tree, invited, arrived, seated. π
π Options π
π Common evaluation options π
--argname expr β passes the value expr as the argument name to Nix functions.--arg-from-filename path β passes the contents of the file at path as the argument name to Nix functions.--arg-from-stdinname β passes the contents of stdin as the argument name to Nix functions.--argstrname string β passes the string string as the argument name to Nix functions.--debuggerβ starts up an interactive environment if evaluation fails. (little rescue pod β¨)--eval-storestore-url β the URL of the Nix store to use for evaluation, i.e. to store derivations (.drvfiles) and the inputs referenced by them.--impureβ allows access to mutable paths and repositories. (she's a little unhinged, we respect it π«Ά)--include/-Ipath β adds path to the search path entries used to resolve lookup paths. This option may be given multiple times. Paths added through-Itake precedence over thenix-pathconfiguration setting and theNIX_PATHenvironment variable. iykyk, precedence matters π--override-flakeoriginal-ref resolved-ref β overrides the flake registries, redirecting original-ref to resolved-ref.
π Common flake-related options π
--commit-lock-fileβ commit changes to the flake's lock file.--inputs-fromflake-url β use the inputs of the specified flake as registry entries.--no-registriesβ don't allow lookups in the flake registries.
DEPRECATED π β use --no-use-registries instead.
--no-update-lock-fileβ do not allow any updates to the flake's lock file.--no-write-lock-fileβ do not write the flake's newly generated lock file.--output-lock-fileflake-lock-path β write the given lock file instead offlake.lockwithin the top-level flake.--override-inputinput-path flake-url β override a specific flake input (e.g.dwarffs/nixpkgs). The input path must not be empty. This implies--no-write-lock-file.--recreate-lock-fileβ recreate the flake's lock file from scratch.
DEPRECATED π β use nix flake update instead.
--reference-lock-fileflake-lock-path β read the given lock file instead offlake.lockwithin the top-level flake.--update-inputinput-path β update a specific flake input (ignoring its previous entry in the lock file).
DEPRECATED π β use nix flake update instead.
π’ Logging-related options π’
--debugβ sets the logging verbosity level todebug.--log-formatformat β sets the format of log output; one ofraw,internal-json,barorbar-with-logs.--print-build-logs/-Lβ prints full build logs on standard error.--quietβ decreases the logging verbosity level. (shhh π€«)--verbose/-vβ increases the logging verbosity level.
π Miscellaneous global options π
--helpβ shows usage information.--offlineβ disables substituters and considers all previously downloaded files up-to-date.--optionname value β sets the Nix configuration setting name to value (overridingnix.conf).--refreshβ considers all previously downloaded files out-of-date.--repairβ during evaluation, rewrites missing or corrupted files in the Nix store. During building, rebuilds missing or corrupted store paths.--versionβ shows version information.
Note π See man nix.conf for overriding configuration settings with command line flags.
and that's the whole page, bestie, no notes, ate and left no crumbs ππ this was nix3-flake...tch-inputs(1) from the General Commands Manual β ok bye, go fetch your inputs, you icon πβ¨π¦π
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms