summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pm-utils
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-09-26 17:09:51 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-09-26 17:09:51 +0000
commit363f3fd1b97f3f09897df09aaef183f93cc6b64e (patch)
treeae8794fd26fb7600c65fe7a726e5e914b02ed733 /pkgs/os-specific/linux/pm-utils
parent0801921e7e6a9c542c0b6e8db596bf143db2b275 (diff)
downloadnixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar.gz
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar.bz2
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar.lz
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar.xz
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.tar.zst
nixpkgs-363f3fd1b97f3f09897df09aaef183f93cc6b64e.zip
* Use /etc/pm for the configuration.
svn path=/nixpkgs/trunk/; revision=17446
Diffstat (limited to 'pkgs/os-specific/linux/pm-utils')
-rw-r--r--pkgs/os-specific/linux/pm-utils/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pm-utils/default.nix b/pkgs/os-specific/linux/pm-utils/default.nix
index 957ba781640..a4d327cba24 100644
--- a/pkgs/os-specific/linux/pm-utils/default.nix
+++ b/pkgs/os-specific/linux/pm-utils/default.nix
@@ -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 = {