nix3-store(1)

πŸŽ€ nix3-store(1) β€” General Commands Manual πŸŽ€

okay so bestie, gather round, because this one is from the General Commands Manual and it's literally called nix3-store(1) πŸ’–. It's all about the nix store command and every little subcommand it's hiding under its hoodie. And um, before we go any further:

⚠️ Warning β€” this program is experimental and its interface is subject to change. So like, don't get too attached to the exact vibes. It might change its whole personality overnight. πŸ™ˆ

✨ Name ✨

nix store β€” manipulate a Nix store πŸ›’βœ¨


🌈 Synopsis 🌈

nix store [option…] subcommand

where subcommand is one of the following:

Available commands:

  • nix store add β€” add a file or directory to the Nix store πŸ“₯
  • nix store add-file β€” Deprecated. Use nix store add --mode flat instead. πŸ’€
  • nix store add-path β€” Deprecated alias to nix store add. πŸ’€
  • nix store cat β€” print the contents of a file in the Nix store on stdout 🐱
  • nix store copy-log β€” copy build logs between Nix stores πŸ“‹
  • nix store copy-sigs β€” copy store path signatures from substituters ✍️
  • nix store delete β€” delete paths from the Nix store πŸ—‘οΈ
  • nix store diff-closures β€” show what packages and versions were added and removed between two closures πŸ”
  • nix store dump-path β€” serialise a store path to stdout in NAR format πŸ“¦
  • nix store gc β€” perform garbage collection on a Nix store 🧹
  • nix store info β€” test whether a store can be accessed πŸ‘€
  • nix store ls β€” show information about a path in the Nix store πŸ“‚
  • nix store make-content-addressed β€” rewrite a path or closure to content-addressed form πŸ”
  • nix store optimise β€” replace identical files in the store by hard links πŸ”—
  • nix store path-from-hash-part β€” get a store path from its hash part 🧩
  • nix store prefetch-file β€” download a file into the Nix store ⬇️
  • nix store repair β€” repair store paths 🩹
  • nix store sign β€” sign store paths with a local key πŸ–ŠοΈ
  • nix store verify β€” verify the integrity of store paths βœ…

Available commands:

  • nix store roots-daemon β€” run a daemon that returns garbage collector roots on request 🌱

:

  • nix store build-trace β€” manipulate a Nix build trace 🧡

(yes bestie, there's literally just a bare : sitting there like the mysterious main character it is β€” we do not question the colon, we respect the colon πŸ‘‘)


πŸ’… Options πŸ’…

  • --debug β€” set the logging verbosity level to β€˜debug’. Maximum yapping, on purpose. πŸ”
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-with-logs. Pick your aesthetic, bestie. 🎨
  • --print-build-logs / -L β€” print full build logs on standard error. Give me ALL the tea. πŸ«–
  • --quiet β€” decrease the logging verbosity level. shhh. 🀫
  • --verbose / -v β€” increase the logging verbosity level. more words, more better. πŸ“’

🌸 Miscellaneous global options

  • --help β€” show usage information. when you're lost, ask for directions. πŸ—ΊοΈ
  • --offline β€” disable substituters and consider all previously downloaded files up-to-date. no wifi, no problem. ✈️
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.conf). πŸ’«
  • --refresh β€” consider all previously downloaded files out-of-date. it's giving "start over, iconically" πŸ”„
  • --version β€” show version information. ⭐
πŸ“Œ Note β€” see man nix.conf for overriding configuration settings with command line flags. iykyk 🧚

and that's the whole thing, bestie β€” every subcommand, every flag, nothing skipped, no cap πŸ’―. this was nix3-store(1), serving General Commands Manual energy from the Nix crew, and that little nix3-store(1) down at the bottom of the page is us waving goodbye πŸ‘‹πŸ’– mwah, go slay some store paths. πŸŽ€βœ¨πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from