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