mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
llpp: install llpp.inotify into bin/
This commit is contained in:
parent
674a5e95d7
commit
c199c58621
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, lib, substituteAll, makeWrapper, fetchgit, ocaml, mupdf, libX11,
|
||||
libGLU_combined, freetype, xclip }:
|
||||
libGLU_combined, freetype, xclip, inotify-tools, procps }:
|
||||
|
||||
assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
|
||||
|
||||
|
@ -36,8 +36,15 @@ stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
install -d $out/bin
|
||||
install build/llpp $out/bin
|
||||
install misc/llpp.inotify $out/bin/llpp.inotify
|
||||
|
||||
wrapProgram $out/bin/llpp \
|
||||
--prefix PATH ":" "${xclip}/bin"
|
||||
|
||||
wrapProgram $out/bin/llpp.inotify \
|
||||
--prefix PATH ":" "$out/bin" \
|
||||
--prefix PATH ":" "${inotify-tools}/bin" \
|
||||
--prefix PATH ":" "${procps}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue