summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2022-01-02 13:40:51 +0100
committerGitHub <noreply@github.com>2022-01-02 13:40:51 +0100
commit118682d2f7750ccb544af90ebf5ebb68aa4315b8 (patch)
treebda1826e69c5501425f0ff4ad2d8e2254477530a /pkgs/tools/system
parent0dc5891390fee06a60166495b896ba60cef25124 (diff)
parent022facde9a9c9f87f8fde522208caf85064c6600 (diff)
downloadnixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar.gz
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar.bz2
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar.lz
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar.xz
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.tar.zst
nixpkgs-118682d2f7750ccb544af90ebf5ebb68aa4315b8.zip
Merge pull request #152976 from elohmeier/btop-rm-gcc-ref
btop: remove reference to gcc
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/btop/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix
index 70b1a78586c..9ffdd46c6b4 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";