nixos/activation/bootspec: embed the document into a bootspec subdir
This commit is contained in:
parent
6c0e4e892f
commit
e9c85d6d0f
|
@ -28,6 +28,8 @@ let
|
|||
children);
|
||||
in
|
||||
''
|
||||
mkdir -p $out/bootspec
|
||||
|
||||
${pkgs.jq}/bin/jq '
|
||||
.toplevel = $toplevel |
|
||||
.init = $init
|
||||
|
@ -40,7 +42,7 @@ let
|
|||
--sort-keys \
|
||||
'.specialisation = ($ARGS.named | map_values(. | first))' \
|
||||
${lib.concatStringsSep " " specialisationLoader} \
|
||||
> $out/${filename}
|
||||
> $out/bootspec/${filename}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue