summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJost Alemann <jost_alemann@me.com>2025-07-03 23:14:21 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-08-04 09:22:48 +0000
commit7f19205f846f62c0d24d39f364c47eec81b44ac3 (patch)
tree6af6856616a0a2be2aafe08756f34032aab8bc07
parentknot-dns: 3.4.7 -> 3.4.8 (#429766) (diff)
downloadnixpkgs-7f19205f846f62c0d24d39f364c47eec81b44ac3.tar.gz
btop: 1.4.3 -> 1.4.4
Changelog: https://github.com/aristocratos/btop/releases/tag/v1.4.4 Diff: https://github.com/aristocratos/btop/compare/v1.4.3...v1.4.4 (cherry picked from commit 2729d95aa413862ee6a300268fd5d8a06bed1c15)
-rw-r--r--pkgs/by-name/bt/btop/package.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/by-name/bt/btop/package.nix b/pkgs/by-name/bt/btop/package.nix
index a4017138cae0..4e787bc862fd 100644
--- a/pkgs/by-name/bt/btop/package.nix
+++ b/pkgs/by-name/bt/btop/package.nix
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "btop";
- version = "1.4.3";
+ version = "1.4.4";
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
- hash = "sha256-4x2vGmH2dfHZHG+zj2KGsL/pRNIZ8K8sXYRHy0io5IE=";
+ hash = "sha256-4H9UjewJ7UFQtTQYwvHZL3ecPiChpfT6LEZwbdBCIa0=";
};
nativeBuildInputs = [
@@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=$(out)" ];
+ # fix build on darwin (see https://github.com/NixOS/nixpkgs/pull/422218#issuecomment-3039181870 and https://github.com/aristocratos/btop/pull/1173)
+ cmakeFlags = [
+ (lib.cmakeBool "BTOP_LTO" (!stdenv.hostPlatform.isDarwin))
+ ];
+
postInstall = ''
${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/bin/btop)
'';