mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
glibc: Check whether `crossSystem' is null before accessing it.
svn path=/nixpkgs/trunk/; revision=21756
This commit is contained in:
parent
146cfcba6c
commit
632ad9e73c
@ -3902,7 +3902,7 @@ let
|
||||
};
|
||||
|
||||
glibc211Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.11)
|
||||
(let crossGNU = (crossSystem.config == "i586-pc-gnu");
|
||||
(let crossGNU = (crossSystem != null && crossSystem.config == "i586-pc-gnu");
|
||||
in ({
|
||||
inherit stdenv fetchurl;
|
||||
gccCross = gccCrossStageStatic;
|
||||
|
Loading…
Reference in New Issue
Block a user