git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #22421 from orivej/unison-fsmonitor

unison: install unison-fsmonitor

commitc84d0dd419d827bfc62c80b925d37e4cab30b41a authorMichael Raskin <7c6f434c@mail.ru> dateSun 5 Feb 2017, 19:02 (10 years ago) parent6642e5d5b83857
1 file changed+4−2
pkgs/applications/networking/sync/unison/default.nix+4−2
pkgs/applications/networking/sync/unison/default.nix+4−2
@@ -11,9 +11,11 @@ stdenv.mkDerivation (rec {
1111
1212 buildInputs = [ ocaml makeWrapper ncurses ];
1313
14− preBuild = if enableX11 then ''
14+ preBuild = (if enableX11 then ''
1515 sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" Makefile.OCaml
16− '' else "";
16+ '' else "") + ''
17+ echo -e '\ninstall:\n\tcp $(FSMONITOR)$(EXEC_EXT) $(INSTALLDIR)' >> fsmonitor/linux/Makefile
18+ '';
1719
1820 makeFlags = "INSTALLDIR=$(out)/bin/" + (if enableX11 then " UISTYLE=gtk2" else "")
1921 + (if ! ocaml.nativeCompilers then " NATIVE=false" else "");