pmutils: PATH+=${dbus_tools}/bin, fix /sbin/hwclock
sleep.d/55NetworkManager needs dbus-send svn path=/nixpkgs/trunk/; revision=29264
This commit is contained in:
parent
30872fb8cc
commit
4f8880a3e3
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, fetchurl, coreutils, gnugrep, utillinux, module_init_tools
|
{ stdenv, fetchurl, coreutils, gnugrep, utillinux, module_init_tools
|
||||||
, procps, kbd }:
|
, procps, kbd, dbus_tools }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
binPath = stdenv.lib.makeSearchPath "bin"
|
binPath = stdenv.lib.makeSearchPath "bin"
|
||||||
[ coreutils gnugrep utillinux module_init_tools procps kbd ];
|
[ coreutils gnugrep utillinux module_init_tools procps kbd dbus_tools ];
|
||||||
|
|
||||||
sbinPath = stdenv.lib.makeSearchPath "sbin"
|
sbinPath = stdenv.lib.makeSearchPath "sbin"
|
||||||
[ procps ];
|
[ procps ];
|
||||||
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace src/pm-action.in --replace 'tr ' '${coreutils}/bin/tr '
|
substituteInPlace src/pm-action.in --replace 'tr ' '${coreutils}/bin/tr '
|
||||||
|
|
||||||
substituteInPlace pm/sleep.d/00logging --replace /bin/uname "$(type -P uname)"
|
substituteInPlace pm/sleep.d/00logging --replace /bin/uname "$(type -P uname)"
|
||||||
|
|
||||||
|
substituteInPlace pm/sleep.d/90clock --replace /sbin/hwclock hwclock
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user