Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
This is for consistency with terminology in stdenv (and the terms "hostDrv" and "buildDrv" are not very intuitive, even if they're consistent with GNU terminology).
This commit is contained in:
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
crossAttrs = ({
|
||||
buildInputs = [ gmp ]
|
||||
++ stdenv.lib.optional aclSupport acl.hostDrv
|
||||
++ stdenv.lib.optional selinuxSupport libselinux.hostDrv
|
||||
++ stdenv.lib.optional selinuxSupport libsepol.hostDrv
|
||||
++ stdenv.lib.optional aclSupport acl.crossDrv
|
||||
++ stdenv.lib.optional selinuxSupport libselinux.crossDrv
|
||||
++ stdenv.lib.optional selinuxSupport libsepol.crossDrv
|
||||
++ stdenv.lib.optional (stdenv.gccCross.libc ? libiconv)
|
||||
stdenv.gccCross.libc.libiconv.hostDrv;
|
||||
stdenv.gccCross.libc.libiconv.crossDrv;
|
||||
|
||||
# Needed for fstatfs()
|
||||
# I don't know why it is not properly detected cross building with glibc.
|
||||
|
||||
Reference in New Issue
Block a user