@@ -18,7 +18,7 @@ let
1818 # compression type and filename extension.
1919 compressorName = fullCommand: builtins.elemAt (builtins.match "([^ ]*/)?([^ ]+).*" fullCommand) 1;
2020in
21−{ stdenvNoCC, perl, cpio, ubootTools, lib, pkgsBuildHost
21+{ stdenvNoCC, perl, libarchive, ubootTools, lib, pkgsBuildHost
2222# Name of the derivation (not of the resulting file!)
2323, name ? "initrd"
2424
@@ -82,7 +82,7 @@ in stdenvNoCC.mkDerivation rec {
8282
8383 builder = ./make-initrd.sh;
8484
85− nativeBuildInputs = [ perl cpio ]
85+ nativeBuildInputs = [ perl libarchive ]
8686 ++ lib.optional makeUInitrd ubootTools;
8787
8888 compress = "${_compressorExecutable} ${lib.escapeShellArgs _compressorArgsReal}";