about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-04-23 20:32:59 +0200
committerDaniel Nagy <danielnagy@posteo.de>2021-04-23 20:33:49 +0200
commit7748904754a155ecb960c858d7d58ba6aaf2f96c (patch)
treecf8f8683c10aeace72b28078c004471a901d9dcd /pkgs/tools/filesystems
parent8d0340aee5caac3807c58ad7fa4ebdbbdd9134d6 (diff)
ceph: substitute /bin/grep
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/ceph/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix
index e923bb6132ecd..413fc9de1859a 100644
--- a/pkgs/tools/filesystems/ceph/default.nix
+++ b/pkgs/tools/filesystems/ceph/default.nix
@@ -161,6 +161,7 @@ in rec {
     preConfigure =''
       substituteInPlace src/common/module.c --replace "/sbin/modinfo"  "modinfo"
       substituteInPlace src/common/module.c --replace "/sbin/modprobe" "modprobe"
+      substituteInPlace src/common/module.c --replace "/bin/grep" "grep"
 
       # for pybind/rgw to find internal dep
       export LD_LIBRARY_PATH="$PWD/build/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"