about summary refs log tree commit diff
path: root/pkgs/build-support/kernel/make-initrd.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-02-19 11:49:31 -0500
committerShea Levy <shea@shealevy.com>2013-02-19 11:49:31 -0500
commit79c3f992b4998631b47e26b6c2725af70cb94aaf (patch)
treecb418cbae292fcd5632ea3850dd62148e68afe50 /pkgs/build-support/kernel/make-initrd.nix
parent7dfd7a93d43eb391e1177b881cc40ed47706ddca (diff)
makeInitrd: Make the compressor configurable
Diffstat (limited to 'pkgs/build-support/kernel/make-initrd.nix')
-rw-r--r--pkgs/build-support/kernel/make-initrd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/kernel/make-initrd.nix b/pkgs/build-support/kernel/make-initrd.nix
index 2c0ca37553df3..38def9c59a69d 100644
--- a/pkgs/build-support/kernel/make-initrd.nix
+++ b/pkgs/build-support/kernel/make-initrd.nix
@@ -12,7 +12,7 @@
 # `contents = {object = ...; symlink = /init;}' is a typical
 # argument.
 
-{stdenv, perl, cpio, contents, ubootChooser}:
+{stdenv, perl, cpio, contents, ubootChooser, compressor}:
 
 let
   inputsFun = ubootName : [perl cpio]
@@ -40,4 +40,5 @@ stdenv.mkDerivation {
     buildNativeInputs = inputsFun stdenv.cross.platform.uboot;
     makeUInitrd = makeUInitrdFun stdenv.cross.platform.uboot;
   };
+  inherit compressor;
 }