1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00
http://hydra.nixos.org/build/3661100
This commit is contained in:
Eelco Dolstra 2013-01-02 23:52:15 +01:00
parent f12492c66d
commit 0a4e90395c
7 changed files with 12 additions and 6 deletions

View file

@ -14,6 +14,8 @@ TESTS = init.sh hash.sh lang.sh add.sh simple.sh dependencies.sh \
XFAIL_TESTS =
profiledir = $(sysconfdir)/profile.d
include ../substitute.mk
$(TESTS): common.sh config.nix

View file

@ -1,7 +1,7 @@
set -e
datadir="@datadir@"
sysconfdir="@sysconfdir@"
profiledir="@profiledir@"
export TEST_ROOT=$(pwd)/test-tmp
export NIX_STORE_DIR

View file

@ -3,8 +3,8 @@ source common.sh
home=$TEST_ROOT/home
rm -rf $home
mkdir -p $home
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh"
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh" # test idempotency
HOME=$home $SHELL -e -c ". $profiledir/nix.sh"
HOME=$home $SHELL -e -c ". $profiledir/nix.sh" # test idempotency
[ -L $home/.nix-profile ]
[ -e $home/.nix-channels ]