Merge pull request #117168 from pmeiyu/master
lm-sensors: Read system configuration files from /etc directory
This commit is contained in:
commit
5f914dc99e
@ -20,16 +20,20 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
"ETCDIR=${placeholder "out"}/etc"
|
|
||||||
"CC=${stdenv.cc.targetPrefix}cc"
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||||||
"AR=${stdenv.cc.targetPrefix}ar"
|
"AR=${stdenv.cc.targetPrefix}ar"
|
||||||
] ++ lib.optional sensord "PROG_EXTRA=sensord";
|
] ++ lib.optional sensord "PROG_EXTRA=sensord";
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"ETCDIR=${placeholder "out"}/etc"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://hwmon.wiki.kernel.org/lm_sensors";
|
homepage = "https://hwmon.wiki.kernel.org/lm_sensors";
|
||||||
changelog = "https://raw.githubusercontent.com/lm-sensors/lm-sensors/V${dashedVersion}/CHANGES";
|
changelog = "https://raw.githubusercontent.com/lm-sensors/lm-sensors/V${dashedVersion}/CHANGES";
|
||||||
description = "Tools for reading hardware sensors";
|
description = "Tools for reading hardware sensors";
|
||||||
license = with licenses; [ lgpl21Plus gpl2Plus ];
|
license = with licenses; [ lgpl21Plus gpl2Plus ];
|
||||||
|
maintainers = with maintainers; [ pengmeiyu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user