diff options
author | markuskowa <markus.kowalewski@gmail.com> | 2022-01-02 13:40:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 13:40:51 +0100 |
commit | 118682d2f7750ccb544af90ebf5ebb68aa4315b8 (patch) | |
tree | bda1826e69c5501425f0ff4ad2d8e2254477530a /pkgs/tools/system | |
parent | 0dc5891390fee06a60166495b896ba60cef25124 (diff) | |
parent | 022facde9a9c9f87f8fde522208caf85064c6600 (diff) | |
download | nixpkgs-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.nix | 5 |
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"; |