2
0
Fork 0

nixos: add genode.init.children.….configFile to system closure

llvm-11
Emery Hemingway 2 years ago
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…
Cancel
Save