diff options
author | Graham Christensen <graham@grahamc.com> | 2022-05-18 15:46:29 -0400 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2022-12-08 13:50:04 -0800 |
commit | e9c85d6d0f5d76f82d99bfc90f672afefdadc358 (patch) | |
tree | 7c7cf4d1f6564a355c016cfcd2a860dc1f773fef /nixos/modules/system | |
parent | 6c0e4e892ff70b2875da3fd04e37b7fe3019850d (diff) |
nixos/activation/bootspec: embed the document into a bootspec subdir
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/activation/bootspec.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/bootspec.nix b/nixos/modules/system/activation/bootspec.nix index f14ec65137f3d..b11dc37521ca7 100644 --- a/nixos/modules/system/activation/bootspec.nix +++ b/nixos/modules/system/activation/bootspec.nix @@ -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} ''; }; }; |