diff options
author | tv <tv@shackspace.de> | 2015-06-24 20:00:52 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-24 20:00:52 +0200 |
commit | 0fa8921e803876d85e1a0d49d925c2919714ee56 (patch) | |
tree | ef5cd237fc110842e64cc3ecf889093d1f63b365 /newbin/nixos-query | |
parent | bea25b5640e72a64605406b40f3cbcf5d0c6c9de (diff) |
infest-cac-CentOS-7-64bit: fetchgit
Diffstat (limited to 'newbin/nixos-query')
-rwxr-xr-x | newbin/nixos-query | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newbin/nixos-query b/newbin/nixos-query new file mode 100755 index 000000000..57761b520 --- /dev/null +++ b/newbin/nixos-query @@ -0,0 +1,8 @@ +#! /bin/sh +set -euf +nix-instantiate \ + -A config."$1" \ + --eval \ + --json \ + '<nixos>' \ + | jq -r . |