mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
gparted: add hdparm dependency
Required to display serial numbers in the "Device Information" view.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
||||
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
|
||||
, utillinux
|
||||
, hdparm, utillinux
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/sbin/gpartedbin \
|
||||
--prefix PATH : "${utillinux}/bin"
|
||||
--prefix PATH : "${hdparm}/bin:${utillinux}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user