pfetch: use stdenvNoCC for smaller build-time closure

This commit is contained in:
Will Dietz 2020-01-14 14:27:23 -06:00
parent 8e48bafca1
commit 1ff48dce3a
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub }: { stdenvNoCC, lib, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "pfetch"; pname = "pfetch";
version = "0.4.0"; version = "0.4.0";
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
install -Dm755 -t $out/bin pfetch install -Dm755 -t $out/bin pfetch
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "A pretty system information tool written in POSIX sh"; description = "A pretty system information tool written in POSIX sh";
homepage = https://github.com/dylanaraps/pfetch; homepage = https://github.com/dylanaraps/pfetch;
license = licenses.mit; license = licenses.mit;