Parted (cross-GNU): Only refer to `.hostDrv' when cross-building.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25090
This commit is contained in:
parent
65e0e4dd68
commit
2ad6c9c6c2
@ -1014,7 +1014,9 @@ let
|
|||||||
|
|
||||||
parted = callPackage ../tools/misc/parted { };
|
parted = callPackage ../tools/misc/parted { };
|
||||||
|
|
||||||
hurdPartedCross = (callPackage ../tools/misc/parted {
|
hurdPartedCross =
|
||||||
|
if crossSystem != null && crossSystem.config == "i586-pc-gnu"
|
||||||
|
then (callPackage ../tools/misc/parted {
|
||||||
# Needs the Hurd's libstore.
|
# Needs the Hurd's libstore.
|
||||||
hurd = hurdCrossIntermediate;
|
hurd = hurdCrossIntermediate;
|
||||||
|
|
||||||
@ -1024,7 +1026,8 @@ let
|
|||||||
gettext = null;
|
gettext = null;
|
||||||
readline = null;
|
readline = null;
|
||||||
devicemapper = null;
|
devicemapper = null;
|
||||||
}).hostDrv;
|
}).hostDrv
|
||||||
|
else null;
|
||||||
|
|
||||||
patch = gnupatch;
|
patch = gnupatch;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user