|
|
@ -7,7 +7,7 @@
|
|
|
|
, payload-compression-type ? "none"
|
|
|
|
, payload-compression-type ? "none"
|
|
|
|
, payload-prefix ? "prefix"
|
|
|
|
, payload-prefix ? "prefix"
|
|
|
|
, payload-name ? "payload"
|
|
|
|
, payload-name ? "payload"
|
|
|
|
, initramfs_image # path to the initramfs `cpio` archive
|
|
|
|
, initramfs ? null # initramfs `cpio` archive
|
|
|
|
, linux-command-line ? null
|
|
|
|
, linux-command-line ? null
|
|
|
|
}:
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
@ -34,8 +34,8 @@ nixpkgsOnBuildForHost.stdenv.mkDerivation {
|
|
|
|
"-c${payload-compression-type}"
|
|
|
|
"-c${payload-compression-type}"
|
|
|
|
] ++ lib.optionals (linux-command-line != null) [
|
|
|
|
] ++ lib.optionals (linux-command-line != null) [
|
|
|
|
"-C'${linux-command-line}'"
|
|
|
|
"-C'${linux-command-line}'"
|
|
|
|
] ++ lib.optionals (initramfs_image != null) [
|
|
|
|
] ++ lib.optionals (initramfs != null) [
|
|
|
|
"-I'${initramfs_image}'"
|
|
|
|
"-I'${initramfs}'"
|
|
|
|
] ++ [
|
|
|
|
] ++ [
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|