summary refs log tree commit diff
path: root/pkgs/tools/text/agrep/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/agrep/default.nix')
-rw-r--r--pkgs/tools/text/agrep/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/agrep/default.nix b/pkgs/tools/text/agrep/default.nix
index c5028b2812883..9fe158b426aec 100644
--- a/pkgs/tools/text/agrep/default.nix
+++ b/pkgs/tools/text/agrep/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
   };
 
   # Related: https://github.com/Wikinaut/agrep/pull/11
-  prePatch = stdenv.lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.isDarwin) ''
+  prePatch = lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.isDarwin) ''
     sed -i '1i#include <sys/stat.h>' checkfil.c newmgrep.c recursiv.c
   '';
   installPhase = ''