mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
Use the daemon when we don't have write access to the Nix database
This commit is contained in:
parent
4fa08f3edb
commit
9e7c1a4bbd
7 changed files with 57 additions and 13 deletions
|
@ -9,6 +9,7 @@ deps="$(nix-store -qR $TEST_ROOT/result)"
|
|||
nix-store --dump-db > $TEST_ROOT/dump
|
||||
|
||||
rm -rf $NIX_DB_DIR
|
||||
mkdir $NIX_DB_DIR
|
||||
|
||||
nix-store --load-db < $TEST_ROOT/dump
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue