-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildLinux: allow overriding stdenv on each call
- Loading branch information
Showing
4 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
vcunat
Author
Member
|
||
# The kernel version | ||
version, | ||
# The version of the kernel module directory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is there a reason why
stdenv
doesn't have the obvious default value? Why break all existing invocations?