mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
c29624bf7d
Doesn't test much, but at least ensures that the command runs properly
8 lines
414 B
Bash
8 lines
414 B
Bash
source common.sh
|
|
|
|
# Query an arbitrary value in `nix describe-stores --json`'s output just to
|
|
# check that it has the right structure
|
|
[[ $(nix --experimental-features 'nix-command flakes' describe-stores --json | jq '.["SSH Store"]["compress"]["defaultValue"]') == false ]]
|
|
|
|
# Ensure that the output of `nix describe-stores` isn't empty
|
|
[[ -n $(nix --experimental-features 'nix-command flakes' describe-stores) ]]
|