lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

agrep: patch to fix on musl, darwin

+4
+4
pkgs/tools/text/agrep/default.nix
··· 12 12 sha256 = "14addnwspdf2mxpqyrw8b84bb2257y43g5ccy4ipgrr91fmxq2sk"; 13 13 }; 14 14 15 + # Related: https://github.com/Wikinaut/agrep/pull/11 16 + prePatch = stdenv.lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.isDarwin) '' 17 + sed -i '1i#include <sys/stat.h>' checkfil.c newmgrep.c recursiv.c 18 + ''; 15 19 installPhase = '' 16 20 install -Dm 555 agrep -t "$out/bin" 17 21 install -Dm 444 docs/* -t "$out/doc"