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:
Philip Taron 2023-08-31 13:40:13 -07:00 committed by GitHub
parent 1b6fe2b3f3
commit 127ea2d80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
"--enable-capabilities"
"--enable-delayacct"
]
++ lib.optional sensorsSupport "--with-sensors"
++ lib.optional sensorsSupport "--enable-sensors"
;
postFixup =