nix3-flake-show(1)
π nix3-flake-show(1) π
okay bestie, welcome to the General Commands Manual β this is nix flake show, and yes it's the one from the Nix manual, and yes we're gonna make it make sense π«Ά
β οΈ Warning β οΈ This program is experimental and its interface is subject to change. (translating: it works, it's cute, but don't get too attached to the exact flags, they might glow-up-shift on you π)
β¨ Name β¨
nix flake show β show the outputs provided by a flake π
πΈ Synopsis πΈ
nix flake show [optionβ¦] flake-url
π Examples π
- Show the output attributes provided by the
patchelfflake:
github:NixOS/patchelf/f34751b88bd07d7f44f5cd3200fb4122bf916c7e
ββββchecks
β ββββaarch64-linux
β β ββββbuild: derivation 'patchelf-0.12.20201207.f34751b'
β ββββi686-linux
β β ββββbuild: derivation 'patchelf-0.12.20201207.f34751b'
β ββββx86_64-linux
β ββββbuild: derivation 'patchelf-0.12.20201207.f34751b'
ββββpackages
β ββββaarch64-linux
β β ββββdefault: package 'patchelf-0.12.20201207.f34751b'
β ββββi686-linux
β β ββββdefault: package 'patchelf-0.12.20201207.f34751b'
β ββββx86_64-linux
β ββββdefault: package 'patchelf-0.12.20201207.f34751b'
ββββhydraJobs
β ββββbuild
β β ββββaarch64-linux: derivation 'patchelf-0.12.20201207.f34751b'
β β ββββi686-linux: derivation 'patchelf-0.12.20201207.f34751b'
β β ββββx86_64-linux: derivation 'patchelf-0.12.20201207.f34751b'
β ββββcoverage: derivation 'patchelf-coverage-0.12.20201207.f34751b'
β ββββrelease: derivation 'patchelf-0.12.20201207.f34751b'
β ββββtarball: derivation 'patchelf-tarball-0.12.20201207.f34751b'
ββββoverlay: Nixpkgs overlay
look at that little tree π³ it's giving family tree but make it builds. iconic.
π¦ Description π¦
So this command shows you the output attributes provided by the flake you point at with the flake reference flake-url. π«Ά
These are the top-level attributes in the outputs of the flake, plus some lower-level attributes for certain standard outputs (e.g. packages or checks). Basically: here's everything this flake is serving, no cap β¨
With --json, the output comes out as a JSON representation suitable for automatic processing by other tools. very "hand me to a script" energy π
π Options π
--all-systemsβ Show the contents of outputs for all systems. yes, every single one, we're being thorough π«Ά--jsonβ Produce output in JSON format, suitable for consumption by another program.--legacyβ Show the contents of thelegacyPackagesoutput.--no-prettyβ Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines.
See --pretty.
--prettyβ Print multi-line, indented JSON output for readability.
Default: indent if output is to a terminal. This option is only effective when --json is also specified.
π§ Common evaluation options π§
--argname expr β Pass the value expr as the argument name to Nix functions.--arg-from-filename path β Pass the contents of file path as the argument name to Nix functions.--arg-from-stdinname β Pass the contents of stdin as the argument name to Nix functions.--argstrname string β Pass the string string as the argument name to Nix functions.--debuggerβ Start an interactive environment if evaluation fails. (it's giving "okay let's talk about it" π₯)--eval-storestore-url β The URL of the Nix store to use for evaluation, i.e. to store derivations (.drvfiles) and inputs referenced by them.--impureβ Allow access to mutable paths and repositories. π--include/-Ipath β Add path to 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. π
--override-flakeoriginal-ref resolved-ref β Override 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β Set the logging verbosity level to'debug'.--log-formatformat β Set the format of log output; one ofraw,internal-json,barorbar-with-logs.--print-build-logs/-Lβ Print full build logs on standard error.--quietβ Decrease the logging verbosity level.--verbose/-vβ Increase the logging verbosity level.
β Miscellaneous global options β
--helpβ Show usage information.--offlineβ Disable substituters and consider all previously downloaded files up-to-date.--optionname value β Set the Nix configuration setting name to value (overridingnix.conf).--refreshβ Consider all previously downloaded files out-of-date.--repairβ During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths.--versionβ Show version information.
Note π See man nix.conf for overriding configuration settings with command line flags.
okay that's the whole thing, you made it to the end, that's main character energy fr fr ππβ¨
this was nix3-flake-show(1) from the General Commands Manual (the Nix manual, babes) β go forth and flake show responsibly, mwah π
π«Ά
π¦ 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