buck: build buckd as well

buck tries to launch buckd to run in the background. While not neccessary, it
does speed up builds.

+12 -5
+12 -5
pkgs/development/tools/build-managers/buck/default.nix
··· 20 20 buildInputs = [ jdk ant python2 watchman python2Packages.pywatchman ]; 21 21 nativeBuildInputs = [ makeWrapper ]; 22 22 23 + targets = [ "buck" "buckd" ]; 24 + 23 25 buildPhase = '' 24 26 ant 25 - ./bin/buck build buck 27 + 28 + for exe in ${toString targets}; do 29 + ./bin/buck build //programs:$exe 30 + done 26 31 ''; 27 32 28 33 installPhase = '' 29 - install -D -m755 buck-out/gen/programs/buck.pex $out/bin/buck 30 - wrapProgram $out/bin/buck \ 31 - --prefix PYTHONPATH : $PYTHONPATH \ 32 - --prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}" 34 + for exe in ${toString targets}; do 35 + install -D -m755 buck-out/gen/programs/$exe.pex $out/bin/$exe 36 + wrapProgram $out/bin/$exe \ 37 + --prefix PYTHONPATH : $PYTHONPATH \ 38 + --prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}" 39 + done 33 40 ''; 34 41 35 42 meta = with stdenv.lib; {