forked from mirrors/nixpkgs
shadow: Don't use stdenv ? cross
This commit is contained in:
parent
b8ed3c65bb
commit
a291194d2f
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
|||
{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook, libxslt, libxml2
|
||||
, docbook_xml_dtd_412, docbook_xsl, gnome_doc_utils, flex, bison
|
||||
, pam ? null, glibcCross ? null }:
|
||||
, pam ? null, glibcCross ? null
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
glibc =
|
||||
if stdenv ? cross
|
||||
if hostPlatform != buildPlatform
|
||||
then glibcCross
|
||||
else assert stdenv ? glibc; stdenv.glibc;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue