stockholm/bin/nixos-query
2015-06-24 20:46:25 +02:00

5 lines
108 B
Bash
Executable File

#! /bin/sh
set -euf
result=$(nix-instantiate -A config."$1" --eval --json '<nixos>')
echo $result | jq -r .