mirror of
https://github.com/utdemir/nix-tree.git
synced 2024-09-11 14:55:44 +03:00
Small README updates
This commit is contained in:
parent
6cdb1d71be
commit
3729eaed48
14
README.md
14
README.md
@ -18,7 +18,7 @@ nix-env -i nix-tree
|
||||
To run the current development version:
|
||||
|
||||
```
|
||||
nix run github:utdemir/nix-tree
|
||||
nix run github:utdemir/nix-tree -- --help
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -66,7 +66,7 @@ with `| xargs -o nix-tree`. Examples:
|
||||
nix-build . --no-out-link | xargs -o nix-tree
|
||||
|
||||
# Build time dependencies (passing a `.drv` path)
|
||||
nix-instantiate --no-out-link | xargs -o nix-tree
|
||||
nix-instantiate -r | xargs -o nix-tree --derivation
|
||||
|
||||
# Dependencies from shell.nix
|
||||
nix-build shell.nix -A inputDerivation | xargs -o nix-tree
|
||||
@ -75,6 +75,16 @@ nix-build shell.nix -A inputDerivation | xargs -o nix-tree
|
||||
nix-build '<nixpkgs>' -A openssl.all --no-out-link | xargs -o nix-tree
|
||||
```
|
||||
|
||||
`nix-tree` also supports flake references:
|
||||
|
||||
```bash
|
||||
# Build time dependencies of a flake on the current directory
|
||||
nix-tree --derivation '.#'
|
||||
|
||||
# Same thing works for any flake reference
|
||||
nix-tree --derivation 'nixpkgs#asciiquarium'
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
All contributions, issues and feature requests are welcome.
|
||||
|
Loading…
Reference in New Issue
Block a user