1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-08 18:11:02 +01:00

get-env.sh: Version the JSON output

This commit is contained in:
Eelco Dolstra 2025-09-08 09:16:46 +02:00 committed by John Ericson
parent a343452cac
commit 9fc7e35860

View file

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