1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 22:12:43 +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 d1f750a714
commit 82aa3ca2d7

View file

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