gparted: add utillinux dependency for blkid

From gparted-0.24.0-README.md:

"Blkid command should be considered mandatory as it is required to
 detect a number of file systems which libparted doesn't detect."
This commit is contained in:
Tobias Geerinckx-Rice 2015-10-29 14:38:09 +01:00
parent 61c6597246
commit 2cba327feb

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, parted, gtk, glib, intltool, gettext, libuuid { stdenv, fetchurl, intltool, gettext, makeWrapper
, pkgconfig, gtkmm, libxml2, hicolor_icon_theme , parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
, utillinux
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +14,12 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-doc"; configureFlags = "--disable-doc";
buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ]; buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ];
nativeBuildInputs = [ intltool gettext pkgconfig ]; nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
wrapProgram $out/sbin/gpartedbin \
--prefix PATH : "${utillinux}/bin"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Graphical disk partitioning tool"; description = "Graphical disk partitioning tool";