btop: remove reference to gcc
This commit is contained in:
parent
fe1dd6a8f2
commit
022facde9a
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue