mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00: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