nix3-profile-history(1)
๐ nix3-profile-history(1) ๐
okay bestie, so this one lives in the General Commands Manual and it's literally called nix3-profile-history(1) โ say hi to her, she's iconic.
โ ๏ธ Warning โ ๏ธ โ this program is experimental and its interface is subject to change. So like, don't get too attached to the exact vibes, she might change her outfit on you. ๐ฎ
โจ Name โจ
nix profile history โ show all versions of a profile ๐ธ
๐ฆ Synopsis ๐ฆ
nix profile history [optionโฆ]
๐ Examples ๐
- Show the changes between each version of your default profile:
# nix profile history
Version 508 (2020-04-10):
flake:nixpkgs#legacyPackages.x86_64-linux.awscli: โ
-> 1.17.13
Version 509 (2020-05-16) <- 508:
flake:nixpkgs#legacyPackages.x86_64-linux.awscli: 1.17.13 -> 1.18.211
like look at her go. so satisfying. ๐
๐ Description ๐
This command shows what packages were added, removed or upgraded between subsequent versions of a profile. ๐
Important tea though: it only shows top-level packages, not dependencies. if you want the dependency lore too, use nix profile diff-closures.
The addition of a package to a profile is denoted by the string โ
-> version, whereas the removal is denoted by version -> โ
. so like, โ
is the ghost of packages past. ๐โจ
๐ Options ๐
--profilepath โ the profile to operate on. that's the one, that's the girl.
๐ 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. like a little emergency sleepover for your errors. ๐ซถ--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. living dangerously, love that for you. ๐ณ--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. she's got main character energy and she cuts the line. ๐
--override-flakeoriginal-ref resolved-ref โ override the flake registries, redirecting original-ref to resolved-ref. it's giving set-a-redirect.
๐ 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. tell me EVERYTHING ๐ฃ๏ธ
๐ง 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.
and that's the whole page bestie, no cap, nothing skipped, every single flag accounted for. ๐ the General Commands Manual said nix3-profile-history(1) and honestly? she ate. slay, 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