forked from lix-project/lix
5716345adf
This requires adding `nix` to its own closure which is a bit unfortunate, but as it is optional (the test will be disabled if `OUTER_NIX` is unset) it shouldn't be too much of an issue. (Ideally this should go in another derivation so that we can build Nix and run the test independently, but as the tests are running in the same derivation as the build it's a bit complicated to do so).
8 lines
251 B
Bash
8 lines
251 B
Bash
# Test that the new Nix can properly talk to an old daemon.
|
|
# If `$OUTER_NIX` isn't set (e.g. when bootsraping), just skip this test
|
|
|
|
if [[ -n "$OUTER_NIX" ]]; then
|
|
export NIX_DAEMON_COMMAND=$OUTER_NIX/bin/nix-daemon
|
|
source remote-store.sh
|
|
fi
|