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:
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
crossAttrs = {
|
||||
# Skip libxcrypt cross-building, as it fails for mips and arm
|
||||
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
|
||||
propagatedBuildInputs = [ flex.crossDrv cracklib.crossDrv ];
|
||||
preConfigure = preConfigure + ''
|
||||
ar x ${flex.hostDrv}/lib/libfl.a
|
||||
ar x ${flex.crossDrv}/lib/libfl.a
|
||||
mv libyywrap.o libyywrap-target.o
|
||||
ar x ${flex}/lib/libfl.a
|
||||
mv libyywrap.o libyywrap-host.o
|
||||
|
||||
Reference in New Issue
Block a user