squashfs builder just needs filesystem not entire config
This commit is contained in:
parent
e2650aa162
commit
5e573cef09
2 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,7 @@ let
|
|||
<liminix-config>
|
||||
./modules/s6
|
||||
] nixpkgs.pkgs;
|
||||
squashfs = liminix.builders.squashfs config;
|
||||
squashfs = liminix.builders.squashfs config.filesystem.contents;
|
||||
kernel = callPackage ./kernel {
|
||||
inherit (config.kernel) config;
|
||||
};
|
||||
|
|
|
@ -6,10 +6,9 @@
|
|||
, pseudofile
|
||||
, runCommand
|
||||
, writeText
|
||||
} : config :
|
||||
} : filesystem :
|
||||
let
|
||||
pseudofiles =
|
||||
pseudofile.write "files.pf" (config.filesystem.contents);
|
||||
pseudofiles = pseudofile.write "files.pf" filesystem;
|
||||
|
||||
storefs = callPackage <nixpkgs/nixos/lib/make-squashfs.nix> {
|
||||
# 1) Every required package is referenced from somewhere
|
||||
|
|
Loading…
Reference in a new issue