mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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
|
||||
, 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…
Reference in New Issue
Block a user