feat(system-config): Readable name for the system closure
All checks were successful
build liminix / build_zyxel-nwa50ax_mips (pull_request) Successful in 15s
build liminix / build_vm_qemu_mips (pull_request) Successful in 15s
build liminix / test_shell_customization (pull_request) Successful in 16s
build liminix / test_hostapd (pull_request) Successful in 16s
All checks were successful
build liminix / build_zyxel-nwa50ax_mips (pull_request) Successful in 15s
build liminix / build_vm_qemu_mips (pull_request) Successful in 15s
build liminix / test_shell_customization (pull_request) Successful in 16s
build liminix / test_hostapd (pull_request) Successful in 16s
This commit is contained in:
parent
1322de1ee0
commit
5ed80a99ac
3 changed files with 4 additions and 4 deletions
|
@ -75,7 +75,7 @@ in
|
|||
mv out $out
|
||||
'';
|
||||
systemConfiguration =
|
||||
pkgs.systemconfig config.filesystem.contents;
|
||||
pkgs.systemconfig config.filesystem.contents config.hostname;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ let
|
|||
../../modules/s6
|
||||
];
|
||||
};
|
||||
in systemconfig eval.config.filesystem.contents;
|
||||
in systemconfig eval.config.filesystem.contents eval.config.hostname;
|
||||
in writeScriptBin "levitate" ''
|
||||
#!/bin/sh
|
||||
destdir=${newRoot}
|
||||
|
|
|
@ -62,10 +62,10 @@ let
|
|||
${(builtins.concatStringsSep "\n" (visit "." attrset))}
|
||||
}
|
||||
'';
|
||||
in attrset:
|
||||
in attrset: hostname:
|
||||
let makedevs = activateScript attrset;
|
||||
in stdenv.mkDerivation {
|
||||
name="make-stuff";
|
||||
name="${hostname}-system-configuration";
|
||||
src = ./.;
|
||||
|
||||
CFLAGS = "-Os";
|
||||
|
|
Loading…
Add table
Reference in a new issue