1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/pkgs/tools/system/htop
Philip Taron 127ea2d80e
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"
      ];
    });
  };
```
2023-08-31 13:40:13 -07:00
..
default.nix
htop-vim.nix