arion/update-options

10 lines
245 B
Text
Raw Normal View History

2019-10-29 12:52:00 +01:00
#!/usr/bin/env nix-shell
2022-12-02 00:21:38 +01:00
#!nix-shell -i bash -p jq
2019-10-29 12:52:00 +01:00
set -eu -o pipefail
cd "$(dirname ${BASH_SOURCE[0]})"
2022-12-02 00:21:38 +01:00
doc_options="$(nix build .#doc-options --json | jq -r .[].outputs.out)"
2019-10-29 12:52:00 +01:00
cat "$doc_options" >docs/modules/ROOT/partials/NixOSOptions.adoc