diff options
author | Philip Taron <philip.taron@gmail.com> | 2023-08-31 13:40:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 13:40:13 -0700 |
commit | 127ea2d80e3b08608807909216bc6e46618e4699 (patch) | |
tree | 9bfdda64148ced080d20fb5ad04c13e42fe22135 | |
parent | 1b6fe2b3f3e8331fc79d8037eac683ade21cdbe2 (diff) |
htop: fix configure.am error with --enable-sensors
Commit 23c81659b5de67f4cf032e31c024a8b1a283fc45 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" ]; }); }; ```
-rw-r--r-- | pkgs/tools/system/htop/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/htop/default.nix b/pkgs/tools/system/htop/default.nix index c00f257808397..50c6ea461f365 100644 --- a/pkgs/tools/system/htop/default.nix +++ b/pkgs/tools/system/htop/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { "--enable-capabilities" "--enable-delayacct" ] - ++ lib.optional sensorsSupport "--with-sensors" + ++ lib.optional sensorsSupport "--enable-sensors" ; postFixup = |