3
0
Fork 0
forked from mirrors/nixpkgs

hurdPartedCross: Make overridable.

svn path=/nixpkgs/trunk/; revision=33630
This commit is contained in:
Ludovic Courtès 2012-04-05 17:32:02 +00:00
parent 5474f1e523
commit c0172418ab

View file

@ -1164,17 +1164,20 @@ let
hurdPartedCross =
if crossSystem != null && crossSystem.config == "i586-pc-gnu"
then (parted.override {
# Needs the Hurd's libstore.
hurd = gnu.hurdCrossIntermediate;
then (makeOverridable
({ hurd }:
(parted.override {
# Needs the Hurd's libstore.
inherit hurd;
# 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)
{ hurd = gnu.hurdCrossIntermediate; })
else null;
patch = gnupatch;