* Use /etc/pm for the configuration.
svn path=/nixpkgs/trunk/; revision=17446
This commit is contained in:
parent
0801921e7e
commit
363f3fd1b9
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1kp4l21786kbvnzlf3n9svl4m93nzi1hr9pknv0r3zhzfz3hgkw4";
|
sha256 = "1kp4l21786kbvnzlf3n9svl4m93nzi1hr9pknv0r3zhzfz3hgkw4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = "--sysconfdir=/etc";
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
# Install the manpages (xmlto isn't really needed).
|
# Install the manpages (xmlto isn't really needed).
|
||||||
@ -15,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Don't screw up the PATH.
|
# Don't screw up the PATH.
|
||||||
substituteInPlace pm/pm-functions.in --replace '/sbin:/usr/sbin:/bin:/usr/bin' '$PATH'
|
substituteInPlace pm/pm-functions.in --replace '/sbin:/usr/sbin:/bin:/usr/bin' '$PATH'
|
||||||
|
|
||||||
|
substituteInPlace pm/sleep.d/00logging --replace /bin/uname "$(type -P uname)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user