add a couple more command ideas

This commit is contained in:
Emile Clark-Boman 2025-10-24 12:16:42 +10:00
parent 87ce378393
commit 940f1d5bed

View file

@ -5,10 +5,23 @@ nix repl --expr "import <nixpkgs>{}" pkgs
nix repl
# fenix src FUNC (maybe a different name then src?)
fenix repl <<< ":e $FUNC"
nix repl <<< ":e $FUNC"
# fenix clean
nix-store --gc # aka nixos-collect-garbage
# Combine all prefetch utilities
# fenix prefetch URI
nix-prefetch-git
nix-prefetch-url
# etc
# This command is EXTREMELY powerful
nix derivation show --recursive /run/current-system
# The goal would be to have something like:
# fenix sys why-depends
# To show which package caused another to be installed
```