mirror of
https://github.com/NixOS/nix
synced 2025-07-08 11:03:54 +02:00
Move NAR-related commands to 'nix nar'
This commit is contained in:
parent
79c1967ded
commit
ef583303f0
6 changed files with 54 additions and 27 deletions
|
@ -22,9 +22,9 @@ outPath=$(nix-build dependencies.nix --no-out-link --sandbox-paths /nix/store)
|
|||
|
||||
nix path-info -r $outPath | grep input-2
|
||||
|
||||
nix ls-store -R -l $outPath | grep foobar
|
||||
nix store ls -R -l $outPath | grep foobar
|
||||
|
||||
nix cat-store $outPath/foobar | grep FOOBAR
|
||||
nix store cat $outPath/foobar | grep FOOBAR
|
||||
|
||||
# Test --check without hash rewriting.
|
||||
nix-build dependencies.nix --no-out-link --check --sandbox-paths /nix/store
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue