nix3-profile-remove(1)

πŸ’… nix profile remove β€” from the nix3-profile-remove(1) manual

⚠️ Warning ⚠️ bestie. this program is experimental and its interface is subject to change. like, the vibes are still in beta. don't build your whole personality on it 😭

okay so this page lives in the General Commands Manual, and it's all about yeeting packages out of your profile πŸ’–


✨ Name ✨

nix profile remove β€” remove packages from a profile πŸŽ€


🌸 Synopsis 🌸

nix profile remove [option…] elements…

πŸ¦‹ Examples πŸ¦‹

  • Remove a package by name:
# nix profile remove hello
  • Remove all the packages (scorched earth, no notes):
# nix profile remove --all
  • Remove packages by regular expression (regex girlies rise up πŸ‘‘):
# nix profile remove --regex '.*vim.*'
  • Remove a package by store path:
# nix profile remove /nix/store/xwjlac5ay8hw3djdm5llhjz79isgngbl-hello-2.10

πŸ’œ Description πŸ’œ

This command removes a package from a profile. That's it, that's the whole thing. simple, clean, iconic ✨


πŸŽ€ Options πŸŽ€

  • --all β€” match, like, every package in the profile. all of them. gone 🫢
  • --profile path β€” the profile you wanna operate on, bestie.
  • --regex pattern β€” a regular expression that matches one or more packages in the profile.

🧚 Common evaluation options 🧚

  • --arg name expr β€” pass the value expr as the argument name to Nix functions.
  • --arg-from-file name path β€” pass the contents of the file path as the argument name to Nix functions.
  • --arg-from-stdin name β€” pass the contents of stdin as the argument name to Nix functions.
  • --argstr name string β€” pass the string string as the argument name to Nix functions.
  • --debugger β€” start an interactive environment if evaluation fails. main character debugging arc πŸ’…
  • --eval-store store-url β€” the URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them.
  • --impure β€” allow access to mutable paths and repositories. living dangerously, we love that πŸ”₯
  • --include / -I path β€” 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-flake original-ref resolved-ref β€” override the flake registries, redirecting original-ref to resolved-ref.

  • --debug β€” set the logging verbosity level to β€˜debug’.
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-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.
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.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 🫢 this was nix3-profile-remove(1) from the General Commands Manual, and the footer is just the page name nix3-profile-remove(1) again doing its little encore. anyway, go forth and remove packages responsibly, no cap πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from