From 022facde9a9c9f87f8fde522208caf85064c6600 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Fri, 31 Dec 2021 18:09:07 +0100 Subject: [PATCH] btop: remove reference to gcc --- pkgs/tools/system/btop/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index 70b1a78586cf..9ffdd46c6b48 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , runCommand , darwin +, removeReferencesTo }: stdenv.mkDerivation rec { @@ -38,6 +39,10 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=$(out)" ]; + postInstall = '' + ${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/bin/btop) + ''; + meta = with lib; { description = "A monitor of resources"; homepage = "https://github.com/aristocratos/btop";