nix3-profile-list(1)
π nix3-profile-list(1) β bestie edition
okay so this is nix3-profile-list(1), straight out of the General Commands Manual, and it's about to become your new favorite little command. π
β οΈ Warning: This program is experimental and its interface is subject to change. Like, it might change its whole personality on you. Be aware. π
πΈ NAME
nix profile list β list packages in the profile
β¨ SYNOPSIS
nix profile list [optionβ¦]
π¦ EXAMPLES
- Wanna see what's installed in your default profile? Say less:
# nix profile list
Name: gdb
Flake attribute: legacyPackages.x86_64-linux.gdb
Original flake URL: flake:nixpkgs
Locked flake URL: github:NixOS/nixpkgs/7b38b03d76ab71bdc8dc325e3f6338d984cc35ca
Store paths: /nix/store/i6i08pl20rh0lm46g38wk3bfnvhdl43d-gdb-11.1
Name: blender-bin
Flake attribute: packages.x86_64-linux.default
Original flake URL: flake:blender-bin
Locked flake URL: github:edolstra/nix-warez/91f2ffee657bf834e4475865ae336e2379282d34?dir=blender
Store paths: /nix/store/rlgr8vjhcv6v2rv7ljgl0pr6g74r0cg9-blender-bin-3.1.2
π Note: you can rebuild a package from a profile unambiguously through its locked flake URL and flake attribute, like:
# nix build github:edolstra/nix-warez/91f2ffee657bf834e4475865ae336e2379282d34?dir=blender#packages.x86_64-linux.default
and that right there will build the package blender-bin shown above. it's giving reproducibility π
π DESCRIPTION
This command shows what packages are currently installed in a profile. obsessed. For each installed package, it shows the following info:
- Name: A unique name used to unambiguously identify the package in invocations of
nix profile removeandnix profile upgrade. this is your main character identifier π«Ά - Index: An integer that can be used to unambiguously identify the package in invocations of
nix profile removeandnix profile upgrade. (Deprecated, will be removed in a future version in favor of Name.) rip index, you had a good run π - Flake attribute: The flake output attribute path that provides the package (e.g.
packages.x86_64-linux.hello). - Original flake URL: The original (βunlockedβ) flake reference specified by the user when the package was first installed via
nix profile install. - Locked flake URL: The locked flake reference to which the original flake reference was resolved.
- Store paths: The store path(s) of the package.
π OPTIONS
--jsonβ Produce output in JSON format, suitable for consumption by another program. feeding it to another program? slay, go off π--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
--jsonis also specified. (yes bestie,--jsonis the girlboss here,--prettyis her hype woman β¨)
--profilepath β The profile to operate on.
π 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 "we can fix this together" π₯Ί--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. chaotic energy, but make it a flag π₯--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.
π§ 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. shhh π€«--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. healing era π--versionβ Show version information.
π Note: See man nix.conf for overriding configuration settings with command line flags.
and that's the whole page, bestie!! no cap, every flag is accounted for π
This has been nix3-profile-list(1) from the General Commands Manual β sending you love, locked flake URLs, and zero deprecated indices. periodt. πβ¨π¦π
π¦ 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