nixos: add genode.init.children.….configFile to system closure
parent
e9407c3e5d
commit
19ab414671
|
@ -135,10 +135,16 @@ in {
|
|||
system.build.tarball =
|
||||
pkgs.callPackage "${modulesPath}/../lib/make-system-tarball.nix" {
|
||||
contents = [ ];
|
||||
storeContents = mapAttrsToList (name: object: {
|
||||
symlink = "rom/${name}";
|
||||
inherit object;
|
||||
}) romDirectories;
|
||||
storeContents = let
|
||||
romDirs = mapAttrsToList (name: object: {
|
||||
symlink = "rom/${name}";
|
||||
inherit object;
|
||||
}) romDirectories;
|
||||
configFiles = mapAttrsToList (name: child: {
|
||||
symlink = "config/${name}.dhall";
|
||||
object = child.configFile;
|
||||
}) config.genode.init.children;
|
||||
in romDirs ++ configFiles;
|
||||
compressCommand = "cat";
|
||||
compressionExtension = "";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue