2007-08-13 17:56:40 +03:00
|
|
|
source common.sh
|
|
|
|
|
|
|
|
clearStore
|
2014-02-26 19:28:55 +02:00
|
|
|
|
2011-07-20 14:50:13 +03:00
|
|
|
startDaemon
|
2014-02-26 19:28:55 +02:00
|
|
|
|
2016-07-27 18:14:41 +03:00
|
|
|
storeCleared=1 $SHELL ./user-envs.sh
|
2014-02-26 19:28:55 +02:00
|
|
|
|
|
|
|
nix-store --dump-db > $TEST_ROOT/d1
|
|
|
|
NIX_REMOTE= nix-store --dump-db > $TEST_ROOT/d2
|
2014-02-26 23:41:29 +02:00
|
|
|
cmp $TEST_ROOT/d1 $TEST_ROOT/d2
|
2014-02-26 19:28:55 +02:00
|
|
|
|
|
|
|
nix-store --gc --max-freed 1K
|
|
|
|
|
2011-07-20 14:50:13 +03:00
|
|
|
killDaemon
|
2019-10-09 19:01:21 +03:00
|
|
|
|
|
|
|
user=$(whoami)
|
|
|
|
[ -e $NIX_STATE_DIR/gcroots/per-user/$user ]
|
|
|
|
[ -e $NIX_STATE_DIR/profiles/per-user/$user ]
|