GNU Parted: Don't try non-Linux platforms.

svn path=/nixpkgs/trunk/; revision=17226
This commit is contained in:
Ludovic Courtès 2009-09-17 10:42:27 +00:00
parent 18ca37341b
commit ffa5a96874
2 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "02amqpzl8lgk247cjsbaz1nsiz9i1pbj0adx0z109h94p90i48sk";
};
buildInputs = [ libuuid gettext readline ] ++
stdenv.lib.optional stdenv.isLinux devicemapper;
buildInputs = [ libuuid gettext readline libuuid devicemapper ];
# XXX: For some reason our libreadline.so doesn't have libncurses as
# NEEDED and `configure' links with `-Wl,--as-needed' so when
@ -44,5 +43,8 @@ stdenv.mkDerivation rec {
# Add your name here!
stdenv.lib.maintainers.ludo
];
# GNU Parted requires libuuid, which is part of e2fsprogs.
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/fdisk/;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.linux;
};
}