* Use /etc/pm for the configuration.

svn path=/nixpkgs/trunk/; revision=17446
This commit is contained in:
Eelco Dolstra 2009-09-26 17:09:51 +00:00
parent 0801921e7e
commit 363f3fd1b9

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1kp4l21786kbvnzlf3n9svl4m93nzi1hr9pknv0r3zhzfz3hgkw4";
};
configureFlags = "--sysconfdir=/etc";
preConfigure =
''
# Install the manpages (xmlto isn't really needed).
@ -15,6 +17,8 @@ stdenv.mkDerivation rec {
# Don't screw up the 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 = {