diff --git a/pkgs/tools/misc/gparted/default.nix b/pkgs/tools/misc/gparted/default.nix index fd6920e623dc..6c007c95da65 100644 --- a/pkgs/tools/misc/gparted/default.nix +++ b/pkgs/tools/misc/gparted/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, intltool, gettext, makeWrapper , parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme -, hdparm, utillinux +, gpart, hdparm, utillinux }: stdenv.mkDerivation rec { @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/sbin/gpartedbin \ - --prefix PATH : "${hdparm}/bin:${utillinux}/bin" + --prefix PATH : "${gpart}/bin:${hdparm}/bin:${utillinux}/bin" ''; meta = with stdenv.lib; {