ocamlPackages.fzf: Patch hardcoded path to fzf binary
This commit is contained in:
parent
01ff3d2ca0
commit
c52c4d4aa1
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ self
|
||||
, bash
|
||||
, fetchpatch
|
||||
, fzf
|
||||
, lib
|
||||
, openssl
|
||||
, zstd
|
||||
|
@ -380,6 +381,9 @@ with self;
|
|||
hash = "1ha0i6dx5bgwzbdi4rn98wjwi2imv5p2i7qs7hy0c6cmg88xbdry";
|
||||
meta.description = "A library for running the fzf command line tool";
|
||||
propagatedBuildInputs = [ async core_kernel ppx_jane ];
|
||||
postPatch = ''
|
||||
substituteInPlace src/fzf.ml --replace /usr/bin/fzf ${fzf}/bin/fzf
|
||||
'';
|
||||
};
|
||||
|
||||
higher_kinded = janePackage {
|
||||
|
|
|
@ -1597,7 +1597,7 @@ let
|
|||
if lib.versionOlder "4.10.2" ocaml.version
|
||||
then import ../development/ocaml-modules/janestreet/0.15.nix {
|
||||
inherit self;
|
||||
inherit (pkgs) bash fetchpatch lib openssl zstd;
|
||||
inherit (pkgs) bash fetchpatch fzf lib openssl zstd;
|
||||
}
|
||||
else if lib.versionOlder "4.08" ocaml.version
|
||||
then import ../development/ocaml-modules/janestreet/0.14.nix {
|
||||
|
|
Loading…
Reference in a new issue