2022-12-26 20:21:08 +00:00
|
|
|
source common.sh
|
|
|
|
|
2024-04-08 05:34:24 +00:00
|
|
|
store_uri="ssh://localhost?remote-store=$TEST_ROOT/other-store"
|
|
|
|
|
2022-12-26 20:21:08 +00:00
|
|
|
# Check that store ping trusted doesn't yet work with ssh://
|
2024-04-08 05:34:24 +00: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'
|