mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
removed readFile of self which rebuilt every change
This commit is contained in:
parent
1d2844a34f
commit
ca1c54245f
6 changed files with 179 additions and 30 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{unstable, ...}: {
|
||||
_: {
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
|
|
@ -9,9 +9,7 @@ let
|
|||
useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
|
||||
|
||||
bootStage2 = pkgs.substituteAll {
|
||||
src = pkgs.runCommand "stage-2-init.sh" {} ''
|
||||
sed '2i exec 1<>/dev/null' ${unstable}/nixos/modules/system/boot/stage-2-init.sh > $out
|
||||
'';
|
||||
src = ./stage-2-init.sh;
|
||||
shellDebug = "${pkgs.bashInteractive}/bin/bash";
|
||||
shell = "${pkgs.bash}/bin/bash";
|
||||
inherit (config.boot) readOnlyNixStore systemdExecutable extraSystemdUnitPaths;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue