summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lm-sensors/default.nix
diff options
context:
space:
mode:
authorPeng Mei Yu <pengmyu@gmail.com>2021-03-22 13:58:04 +0800
committerPeng Mei Yu <pengmyu@gmail.com>2021-03-23 12:44:31 +0800
commit99c7befb5c6eae00efae908838bb559e28a3aea2 (patch)
tree35384c4a35a36d157b3dc6ff8183ec629d369e6e /pkgs/os-specific/linux/lm-sensors/default.nix
parentd20e0209610476c0c3f7b485b3b0dc4e73c40ea8 (diff)
downloadnixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar.gz
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar.bz2
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar.lz
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar.xz
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.tar.zst
nixpkgs-99c7befb5c6eae00efae908838bb559e28a3aea2.zip
lm-sensors: Read system configuration files from /etc directory
Diffstat (limited to 'pkgs/os-specific/linux/lm-sensors/default.nix')
-rw-r--r--pkgs/os-specific/linux/lm-sensors/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/lm-sensors/default.nix b/pkgs/os-specific/linux/lm-sensors/default.nix
index 915609e8868..34ad80a6c00 100644
--- a/pkgs/os-specific/linux/lm-sensors/default.nix
+++ b/pkgs/os-specific/linux/lm-sensors/default.nix
@@ -20,16 +20,20 @@ stdenv.mkDerivation rec {
 
   makeFlags = [
     "PREFIX=${placeholder "out"}"
-    "ETCDIR=${placeholder "out"}/etc"
     "CC=${stdenv.cc.targetPrefix}cc"
     "AR=${stdenv.cc.targetPrefix}ar"
   ] ++ lib.optional sensord "PROG_EXTRA=sensord";
 
+  installFlags = [
+    "ETCDIR=${placeholder "out"}/etc"
+  ];
+
   meta = with lib; {
     homepage = "https://hwmon.wiki.kernel.org/lm_sensors";
     changelog = "https://raw.githubusercontent.com/lm-sensors/lm-sensors/V${dashedVersion}/CHANGES";
     description = "Tools for reading hardware sensors";
     license = with licenses; [ lgpl21Plus gpl2Plus ];
+    maintainers = with maintainers; [ pengmeiyu ];
     platforms = platforms.linux;
   };
 }