GNU Parted: Don't try non-Linux platforms.
svn path=/nixpkgs/trunk/; revision=17226
This commit is contained in:
parent
18ca37341b
commit
ffa5a96874
@ -8,8 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "02amqpzl8lgk247cjsbaz1nsiz9i1pbj0adx0z109h94p90i48sk";
|
sha256 = "02amqpzl8lgk247cjsbaz1nsiz9i1pbj0adx0z109h94p90i48sk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libuuid gettext readline ] ++
|
buildInputs = [ libuuid gettext readline libuuid devicemapper ];
|
||||||
stdenv.lib.optional stdenv.isLinux devicemapper;
|
|
||||||
|
|
||||||
# XXX: For some reason our libreadline.so doesn't have libncurses as
|
# XXX: For some reason our libreadline.so doesn't have libncurses as
|
||||||
# NEEDED and `configure' links with `-Wl,--as-needed' so when
|
# NEEDED and `configure' links with `-Wl,--as-needed' so when
|
||||||
@ -44,5 +43,8 @@ stdenv.mkDerivation rec {
|
|||||||
# Add your name here!
|
# Add your name here!
|
||||||
stdenv.lib.maintainers.ludo
|
stdenv.lib.maintainers.ludo
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# GNU Parted requires libuuid, which is part of e2fsprogs.
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.gnu.org/software/fdisk/;
|
homepage = http://www.gnu.org/software/fdisk/;
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user