Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 0dddcf867a65723ddf96343dd694f970f2f9538a
      
https://github.com/NixOS/nix/commit/0dddcf867a65723ddf96343dd694f970f2f9538a
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/libstore/binary-cache-store.cc
    M src/libstore/binary-cache-store.hh
    M src/libstore/legacy-ssh-store.cc
    M src/libstore/store-api.cc
    M src/libstore/store-api.hh

  Log Message:
  -----------
  Add a dummy Store::buildPaths() method

This default implementation of buildPaths() does nothing if all
requested paths are already valid, and throws an "unsupported
operation" error otherwise. This fixes a regression introduced by
c30330df6f67c81986dfb124631bc756c8e58c0d in binary cache and legacy
SSH stores.


  Commit: 227a48f86f8c26c495783c5946bb75c2819bb7ac
      
https://github.com/NixOS/nix/commit/227a48f86f8c26c495783c5946bb75c2819bb7ac
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/libstore/optimise-store.cc

  Log Message:
  -----------
  Reduce severity of EMLINK warnings

Fixes #1357.


  Commit: b986c7f8b14c1270e012f22183737ebbaa33173d
      
https://github.com/NixOS/nix/commit/b986c7f8b14c1270e012f22183737ebbaa33173d
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/build.cc

  Log Message:
  -----------
  Pass verbosity level to build hook


  Commit: ca9f589a93309ca548d772f1634169007568d6a0
      
https://github.com/NixOS/nix/commit/ca9f589a93309ca548d772f1634169007568d6a0
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/build.cc

  Log Message:
  -----------
  build-remote: Don't copy the .drv closure

Since build-remote uses buildDerivation() now, we don't need to copy
the .drv file anymore. This greatly reduces the set of input paths
copied to the remote side (e.g. from 392 to 51 store paths for GNU
hello on x86_64-darwin).


  Commit: d7653dfc6dea076ecbe00520c6137977e0fced35
      
https://github.com/NixOS/nix/commit/d7653dfc6dea076ecbe00520c6137977e0fced35
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M doc/manual/advanced-topics/distributed-builds.xml
    M doc/manual/command-ref/env-common.xml
    M src/build-remote/build-remote.cc
    M src/libstore/build.cc
    M src/libstore/globals.hh
    M tests/remote-builds.nix

  Log Message:
  -----------
  Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOAD

This is to simplify remote build configuration. These environment
variables predate nix.conf.

The build hook now has a sensible default (namely build-remote).

The current load is kept in the Nix state directory now.


  Commit: 3f5b98e65a86abd31f97bd763ae5cb41ff4aeda8
      
https://github.com/NixOS/nix/commit/3f5b98e65a86abd31f97bd763ae5cb41ff4aeda8
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/libstore/build.cc

  Log Message:
  -----------
  Chomp log output from the build hook


  Commit: deac171925bf2e3960d2f837d95b71c0427d26dd
      
https://github.com/NixOS/nix/commit/deac171925bf2e3960d2f837d95b71c0427d26dd
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/libstore/legacy-ssh-store.cc

  Log Message:
  -----------
  Implement LegacySSHStore::buildDerivation()

This makes LegacySSHStore usable by build-remote and
hydra-queue-runner.


  Commit: 3e4bdfedee747868a32b8a9c7a89a6f860415be8
      
https://github.com/NixOS/nix/commit/3e4bdfedee747868a32b8a9c7a89a6f860415be8
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/libutil/util.cc

  Log Message:
  -----------
  Minor cleanup


  Commit: 031d70e5009fcce58afabc9113d5a5de4a16b19a
      
https://github.com/NixOS/nix/commit/031d70e5009fcce58afabc9113d5a5de4a16b19a
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/build.cc
    M src/libstore/store-api.cc
    M src/libstore/store-api.hh

  Log Message:
  -----------
  Support arbitrary store URIs in nix.machines

For backwards compatibility, if the URI is just a hostname, ssh://
(i.e. LegacySSHStore) is prepended automatically.

Also, all fields except the URI are now optional. For example, this is
a valid nix.machines file:

  local?root=/tmp/nix

This is useful for testing the remote build machinery since you don't
have to mess around with ssh.


  Commit: 3a5f04f48cc39eec5cc454e387aa290e08295aff
      
https://github.com/NixOS/nix/commit/3a5f04f48cc39eec5cc454e387aa290e08295aff
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/legacy-ssh-store.cc
    M src/libstore/local-store.cc
    M src/libstore/store-api.cc
    M src/libstore/store-api.hh
    M src/nix-copy-closure/nix-copy-closure.cc

  Log Message:
  -----------
  build-remote: Don't require signatures

This restores the old behaviour.


  Commit: feefcb3a982d3e3b8e89798d72d8afa996169569
      
https://github.com/NixOS/nix/commit/feefcb3a982d3e3b8e89798d72d8afa996169569
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/legacy-ssh-store.cc
    M src/libstore/ssh.cc
    M src/libstore/ssh.hh

  Log Message:
  -----------
  build-remote: Ugly hackery to get build logs to work

The build hook mechanism expects build log output to go to file
descriptor 4, so do that.


  Commit: 70581b63633016329789872c73dc48b1d498c729
      
https://github.com/NixOS/nix/commit/70581b63633016329789872c73dc48b1d498c729
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M tests/build-hook.sh

  Log Message:
  -----------
  Fix build hook test


  Commit: 174b68a2a2e9e58fa1a1a0036858a566c51684dc
      
https://github.com/NixOS/nix/commit/174b68a2a2e9e58fa1a1a0036858a566c51684dc
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/build.cc

  Log Message:
  -----------
  build-hook: If there are no machines defined, quit permanently


  Commit: ebc9f36a8111ddecc8e265e8a6a70048218f244d
      
https://github.com/NixOS/nix/commit/ebc9f36a8111ddecc8e265e8a6a70048218f244d
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    A src/libstore/machines.cc
    A src/libstore/machines.hh

  Log Message:
  -----------
  Factor out machines.conf parsing

This allows hydra-queue-runner to use it.


  Commit: 1a68710d4dff609bbaf61db3e17a2573f0aadf17
      
https://github.com/NixOS/nix/commit/1a68710d4dff609bbaf61db3e17a2573f0aadf17
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/build-remote/local.mk
    M src/libstore/build.cc
    M src/libstore/globals.hh
    M src/libstore/machines.cc
    M src/libstore/machines.hh

  Log Message:
  -----------
  Add an option for specifying remote builders

This is useful for one-off situations where you want to specify a
builder on the command line instead of having to mess with
nix.machines. E.g.

  $ nix-build -A hello --argstr system x86_64-darwin \
    --option builders 'root@macstadium1 x86_64-darwin'

will perform the specified build on "macstadium1".

It also removes the need for a separate nix.machines file since you
can specify builders in nix.conf directly. (In fact nix.machines is
yet another hack that predates the general nix.conf configuration
file, IIRC.)

Note: this option is supported by the daemon for trusted users. The
fact that this allows trusted users to specify paths to SSH keys to
which they don't normally have access is maybe a bit too much trust...


  Commit: cd4d2705ec6e641ffa3b11dc1aabad22fc38251a
      
https://github.com/NixOS/nix/commit/cd4d2705ec6e641ffa3b11dc1aabad22fc38251a
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/build-remote/build-remote.cc
    M src/libstore/legacy-ssh-store.cc
    M src/libstore/remote-store.cc
    M src/libstore/remote-store.hh
    M src/libstore/store-api.hh

  Log Message:
  -----------
  build-remote: Fix fallback to other machines when connecting fails

Opening an SSHStore or LegacySSHStore does not actually establish a
connection, so the try/catch block here did nothing. Added a
Store::connect() method to test whether a connection can be
established.


  Commit: 7f6837a0f6e7702a9e8c6da622873b955aa414cd
      
https://github.com/NixOS/nix/commit/7f6837a0f6e7702a9e8c6da622873b955aa414cd
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/libstore/globals.cc
    M src/libstore/globals.hh
    M src/libstore/machines.cc
    M src/libstore/machines.hh

  Log Message:
  -----------
  Replace $NIX_REMOTE_SYSTEMS with an option "builder-files"

Also, to unify with hydra-queue-runner, allow it to be a list of
files.


  Commit: c5bea16611ae1aa99680bbd5d94bc69811869885
      
https://github.com/NixOS/nix/commit/c5bea16611ae1aa99680bbd5d94bc69811869885
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/libstore/local-fs-store.cc

  Log Message:
  -----------
  LocalStoreAccessor: Fix handling of diverted stores


  Commit: 7dedd3fa2455f1e219bc671d04d1dd1eaec54dfa
      
https://github.com/NixOS/nix/commit/7dedd3fa2455f1e219bc671d04d1dd1eaec54dfa
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    A tests/linux-sandbox.sh
    M tests/local.mk

  Log Message:
  -----------
  Add a test for diverted stores


  Commit: cef8c169b1d100685d7c7b7bfb921eaa43b5521b
      
https://github.com/NixOS/nix/commit/cef8c169b1d100685d7c7b7bfb921eaa43b5521b
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/nix/command.hh
    M src/nix/installables.cc

  Log Message:
  -----------
  Fix "nix ... --all"

When "--all" is used, we should not fill in a default installable.


  Commit: 16535552ad69ca5397967b84fd70cc0d27a38ac1
      
https://github.com/NixOS/nix/commit/16535552ad69ca5397967b84fd70cc0d27a38ac1
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M tests/build-hook.nix
    A tests/build-remote.sh
    M tests/local.mk

  Log Message:
  -----------
  build-remote: Add a basic test

This only runs on Linux because it requires a diverted store (which
uses mount/user namespaces).


Compare: https://github.com/NixOS/nix/compare/b0b81b75001d...16535552ad69
_______________________________________________
nix-commits mailing list
[email protected]
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to