nix3-profile-add(1)
π nix3-profile-add(1) π
okay so bestie, welcome to the General Commands Manual entry for nix3-profile-add(1) π strap in
β οΈ Warning: This program is experimental and its interface is subject to change. fr fr, they will switch it up on you, don't get too attached to the exact flags π
β¨ Name β¨
nix profile add β add a package to a profile π«Ά
β¨ Synopsis β¨
nix profile add [optionβ¦] installablesβ¦
β¨ Examples β¨
- Add a package from Nixpkgs:
# nix profile add nixpkgs#hello
- Add a package from a specific branch of Nixpkgs:
# nix profile add nixpkgs/release-20.09#hello
- Add a package from a specific revision of Nixpkgs:
# nix profile add nixpkgs/d73407e8e6002646acfdef0e39ace088bacc83da#hello
- Add a specific output of a package:
# nix profile add nixpkgs#bash^man
β¨ Description β¨
This command adds installables to a Nix profile. slay π
π Note:nix profile installis an alias fornix profile add. two names, one icon π
β¨ Options β¨
--prioritypriority β The priority of the package to add.--profilepath β The profile to operate on.--stdinβ Read installables from the standard input. No default installable applied.
πΈ 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.--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 -I take precedence over the nix-path configuration setting and the NIX_PATH environment 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.
π§ Options that change the interpretation of installables π§
--exprexpr β Interpret installables as attribute paths relative to the Nix expression expr.--file,-ffile β Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character-, then a Nix expression is read from standard input. Implies--impure.
π Note: See man nix.conf for overriding configuration settings with command line flags.
okay that's the whole vibe check, you're officially certified on nix profile add π go add some packages bestie, you got this fr fr π
and yeah β this was the nix3-profile-add(1) page from the General Commands Manual, and the footer is just that same name again, nix3-profile-add(1), no extra date or version dressing on it. 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