mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
htop: fix configure.am error with --enable-sensors
Commit 23c81659b5
didn't get the configure flag quite right. According to https://github.com/htop-dev/htop/blob/main/configure.ac#L671, it's `--enable-sensors`, not `--with-sensors`.
I tested this out locally with
```
programs.htop = {
enable = true;
package = pkgs.htop.overrideAttrs (prev: {
configureFlags = [
"--enable-unicode"
"--sysconfdir=/etc"
"--enable-affinity"
"--enable-capabilities"
"--enable-delayacct"
"--enable-sensors"
];
});
};
```
This commit is contained in:
parent
1b6fe2b3f3
commit
127ea2d80e
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
"--enable-capabilities"
|
||||
"--enable-delayacct"
|
||||
]
|
||||
++ lib.optional sensorsSupport "--with-sensors"
|
||||
++ lib.optional sensorsSupport "--enable-sensors"
|
||||
;
|
||||
|
||||
postFixup =
|
||||
|
|
Loading…
Reference in a new issue