1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00

get-env.sh: Version the JSON output

This commit is contained in:
Eelco Dolstra 2025-09-08 09:16:46 +02:00
parent 7658f00bb1
commit bef0bec012

View file

@ -14,6 +14,7 @@ __functions="$(declare -F)"
__dumpEnv() {
printf '{\n'
printf ' "version": 1,\n'
printf ' "bashFunctions": {\n'
local __first=1