buildLinux: allow overriding stdenv on each call

This commit is contained in:
Vladimír Čunát
2017-08-20 08:24:52 +02:00
parent 0a4d102b98
commit 7c7c83e233
4 changed files with 6 additions and 4 deletions
@@ -1,4 +1,4 @@
{ stdenv, runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
{ runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
, writeTextFile, ubootChooser
, hostPlatform
}:
@@ -14,6 +14,8 @@ let
echo "}" >> $out
'').outPath;
in {
# Allow overriding stdenv on each buildLinux call
stdenv,
# The kernel version
version,
# The version of the kernel module directory