2024-05-28 16:43:04 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-12-26 20:21:08 +00:00
|
|
|
source common.sh
|
|
|
|
|
2024-04-08 05:43:02 +00:00
|
|
|
store_uri="ssh://localhost?remote-store=$TEST_ROOT/other-store"
|
|
|
|
|
2023-10-17 18:44:11 +00:00
|
|
|
# Check that store info trusted doesn't yet work with ssh://
|
2024-04-08 05:43:02 +00:00
|
|
|
nix --store "$store_uri" store info --json | jq -e 'has("trusted") | not'
|
|
|
|
|
|
|
|
# Suppress grumpiness about multiple nixes on PATH
|
2024-04-08 09:02:39 +00:00
|
|
|
(nix --store "$store_uri" doctor || true) 2>&1 | grep "doesn't have a notion of trusted user"
|