mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
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,17 +1014,20 @@ let
|
||||
|
||||
parted = callPackage ../tools/misc/parted { };
|
||||
|
||||
hurdPartedCross = (callPackage ../tools/misc/parted {
|
||||
# Needs the Hurd's libstore.
|
||||
hurd = hurdCrossIntermediate;
|
||||
hurdPartedCross =
|
||||
if crossSystem != null && crossSystem.config == "i586-pc-gnu"
|
||||
then (callPackage ../tools/misc/parted {
|
||||
# Needs the Hurd's libstore.
|
||||
hurd = hurdCrossIntermediate;
|
||||
|
||||
# The Hurd wants a libparted.a.
|
||||
enableStatic = true;
|
||||
# The Hurd wants a libparted.a.
|
||||
enableStatic = true;
|
||||
|
||||
gettext = null;
|
||||
readline = null;
|
||||
devicemapper = null;
|
||||
}).hostDrv;
|
||||
gettext = null;
|
||||
readline = null;
|
||||
devicemapper = null;
|
||||
}).hostDrv
|
||||
else null;
|
||||
|
||||
patch = gnupatch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user