add a couple more command ideas
This commit is contained in:
parent
87ce378393
commit
940f1d5bed
1 changed files with 14 additions and 1 deletions
15
COMMANDS.md
15
COMMANDS.md
|
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue