1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

gparted: add procps dependency

The 'gparted' wrapper script uses 'ps' as a poor person's lock.
Make sure that this doesn't silently fail.
This commit is contained in:
Tobias Geerinckx-Rice 2015-11-19 23:39:15 +01:00
parent 0efb1f7963
commit af79c2ac59

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, intltool, gettext, makeWrapper
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
, gpart, hdparm, utillinux
, gpart, hdparm, procps, utillinux
}:
stdenv.mkDerivation rec {
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
wrapProgram $out/sbin/gparted \
--prefix PATH : "${procps}/bin"
wrapProgram $out/sbin/gpartedbin \
--prefix PATH : "${gpart}/bin:${hdparm}/bin:${utillinux}/bin"
'';