summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/agrep
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2020-06-10 09:36:00 +0300
committerNikolay Korotkiy <sikmir@gmail.com>2020-06-10 09:36:00 +0300
commitc4cd635283ca68797ef4d803f298c0d8ee1e82b7 (patch)
tree0bd97dc8b4bf904eea3b34585aa83a72e16b6ff9 /pkgs/tools/text/agrep
parentadbace3c212a64cfa151590f907965aa3eaabf8b (diff)
agrep: enable on darwin
Diffstat (limited to 'pkgs/tools/text/agrep')
-rw-r--r--pkgs/tools/text/agrep/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/text/agrep/default.nix b/pkgs/tools/text/agrep/default.nix
index c285b892b925..c0816f8ab76c 100644
--- a/pkgs/tools/text/agrep/default.nix
+++ b/pkgs/tools/text/agrep/default.nix
@@ -21,10 +21,12 @@ stdenv.mkDerivation {
install -Dm 444 docs/* -t "$out/doc"
'';
- meta = {
+ makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
+
+ meta = with stdenv.lib; {
description = "Approximate grep for fast fuzzy string searching";
homepage = "https://www.tgries.de/agrep/";
- license = stdenv.lib.licenses.isc;
- platforms = stdenv.lib.platforms.linux;
+ license = licenses.isc;
+ platforms = with platforms; linux ++ darwin;
};
}