shadow: Don't use stdenv ? cross
This commit is contained in:
parent
b8ed3c65bb
commit
a291194d2f
@ -1,11 +1,13 @@
|
|||||||
{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook, libxslt, libxml2
|
{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook, libxslt, libxml2
|
||||||
, docbook_xml_dtd_412, docbook_xsl, gnome_doc_utils, flex, bison
|
, docbook_xml_dtd_412, docbook_xsl, gnome_doc_utils, flex, bison
|
||||||
, pam ? null, glibcCross ? null }:
|
, pam ? null, glibcCross ? null
|
||||||
|
, buildPlatform, hostPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
glibc =
|
glibc =
|
||||||
if stdenv ? cross
|
if hostPlatform != buildPlatform
|
||||||
then glibcCross
|
then glibcCross
|
||||||
else assert stdenv ? glibc; stdenv.glibc;
|
else assert stdenv ? glibc; stdenv.glibc;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user