mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
10f864c5ae
This is good for shebang, and also good for future build system simplifications
11 lines
385 B
Bash
Executable file
11 lines
385 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source common.sh
|
|
|
|
store_uri="ssh://localhost?remote-store=$TEST_ROOT/other-store"
|
|
|
|
# Check that store info trusted doesn't yet work with ssh://
|
|
nix --store "$store_uri" store info --json | jq -e 'has("trusted") | not'
|
|
|
|
# Suppress grumpiness about multiple nixes on PATH
|
|
(nix --store "$store_uri" doctor || true) 2>&1 | grep "doesn't have a notion of trusted user"
|