try deps
This commit is contained in:
parent
e2cb7ec4cc
commit
2937e59e91
1 changed files with 111 additions and 99 deletions
|
|
@ -258,7 +258,21 @@ lib.mkMerge [
|
|||
KeyringMode = "shared";
|
||||
# We need a path that includes standard tools (mkdir, mount, find, date, stat)
|
||||
# and bcachefs tools.
|
||||
Environment = "PATH=${
|
||||
# Environment = "PATH=${
|
||||
# lib.makeBinPath [
|
||||
# pkgs.coreutils
|
||||
# pkgs.util-linux
|
||||
# pkgs.findutils
|
||||
# pkgs.gawk
|
||||
# pkgs.bcachefs-tools
|
||||
# pkgs.gnugrep
|
||||
# ]
|
||||
# }:/bin:/sbin";
|
||||
};
|
||||
|
||||
script = ''
|
||||
# This forces Nix to include these packages in the initrd closure
|
||||
export PATH="${
|
||||
lib.makeBinPath [
|
||||
pkgs.coreutils
|
||||
pkgs.util-linux
|
||||
|
|
@ -267,10 +281,8 @@ lib.mkMerge [
|
|||
pkgs.bcachefs-tools
|
||||
pkgs.gnugrep
|
||||
]
|
||||
}:/bin:/sbin";
|
||||
};
|
||||
|
||||
script = ''
|
||||
}:$PATH"
|
||||
# 1. Enable Debugging
|
||||
set -x
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue