2022-12-26 21:21:08 +01:00
|
|
|
source common.sh
|
|
|
|
|
2024-04-08 07:34:24 +02:00
|
|
|
store_uri="ssh://localhost?remote-store=$TEST_ROOT/other-store"
|
|
|
|
|
2022-12-26 21:21:08 +01:00
|
|
|
# Check that store ping trusted doesn't yet work with ssh://
|
2024-04-08 07:34:24 +02:00
|
|
|
nix --store "$store_uri" store ping --json | jq -e 'has("trusted") | not'
|
|
|
|
|
|
|
|
# Suppress grumpiness about multiple nixes on PATH
|
|
|
|
(nix --store "$store_uri" doctor || true) 2>&1 | grep 'You are unknown trust'
|