stockholm/old/bin/nixos-query

5 lines
108 B
Plaintext
Raw Normal View History

2015-05-21 20:33:16 +00:00
#! /bin/sh
set -euf
2015-06-24 18:46:25 +00:00
result=$(nix-instantiate -A config."$1" --eval --json '<nixos>')
echo $result | jq -r .