Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-24 | More progress indicator improvements | Eelco Dolstra | 1 | -4/+9 | |
Fixes #1599. | |||||
2017-10-24 | Progress indicator: Show on what machine we're building | Eelco Dolstra | 1 | -1/+1 | |
E.g. $ nix build nixpkgs.hello --builders 'root@wendy' [1/0/1 built] building hello-2.10 on ssh://root@wendy: checking for minix/config.h... no | |||||
2017-10-24 | build-remote: Work properly on a chrooted store | Eelco Dolstra | 1 | -1/+1 | |
2017-10-24 | Handle log messages from build-remote | Eelco Dolstra | 1 | -10/+18 | |
This makes the progress indicator show statuses like "connecting to 'root@machine'". | |||||
2017-10-23 | Pass all settings to build-remote | Eelco Dolstra | 1 | -28/+31 | |
This ensures that command line flags such as --builders get passed correctly. | |||||
2017-10-23 | build-remote: Put current load under the store state directory | Eelco Dolstra | 1 | -2/+3 | |
Fixes the error error: opening lock file '/nix/var/nix/current-load/main-lock': Permission denied when using a chroot store. | |||||
2017-07-31 | Merge branch 'macOS' of https://github.com/davidak/nix | Eelco Dolstra | 1 | -1/+1 | |
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 1 | -6/+6 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-30 | replace "OS X" with "macOS" | davidak | 1 | -1/+1 | |
2017-07-03 | Replace a few bool flags with enums | Eelco Dolstra | 1 | -2/+2 | |
Functions like copyClosure() had 3 bool arguments, which creates a severe risk of mixing up arguments. Also, implement copyClosure() using copyPaths(). | |||||
2017-05-08 | build-remote: Check remote build status | Eelco Dolstra | 1 | -1/+4 | |
2017-05-02 | build-remote: Fix fallback to other machines when connecting fails | Eelco Dolstra | 1 | -0/+1 | |
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. | |||||
2017-05-02 | Add an option for specifying remote builders | Eelco Dolstra | 2 | -10/+3 | |
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... | |||||
2017-05-02 | Factor out machines.conf parsing | Eelco Dolstra | 1 | -87/+8 | |
This allows hydra-queue-runner to use it. | |||||
2017-05-02 | build-hook: If there are no machines defined, quit permanently | Eelco Dolstra | 1 | -0/+5 | |
2017-05-02 | build-remote: Ugly hackery to get build logs to work | Eelco Dolstra | 1 | -1/+1 | |
The build hook mechanism expects build log output to go to file descriptor 4, so do that. | |||||
2017-05-01 | build-remote: Don't require signatures | Eelco Dolstra | 1 | -2/+2 | |
This restores the old behaviour. | |||||
2017-05-01 | Support arbitrary store URIs in nix.machines | Eelco Dolstra | 1 | -33/+44 | |
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. | |||||
2017-05-01 | Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOAD | Eelco Dolstra | 1 | -1/+3 | |
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. | |||||
2017-05-01 | build-remote: Don't copy the .drv closure | Eelco Dolstra | 1 | -2/+5 | |
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). | |||||
2017-05-01 | Pass verbosity level to build hook | Eelco Dolstra | 1 | -3/+6 | |
2017-03-16 | ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// | Eelco Dolstra | 1 | -1/+1 | |
2017-03-16 | copyPaths(): Use queryValidPaths() to reduce SSH latency | Eelco Dolstra | 1 | -6/+10 | |
2017-03-03 | build-remote: Don't use a SSH master | Eelco Dolstra | 1 | -1/+3 | |
This is unnecessary because we make only one connection. | |||||
2017-03-03 | build-remote: Fix passing SSH key | Eelco Dolstra | 1 | -1/+1 | |
2017-03-03 | build-remote: Misc cleanup | Eelco Dolstra | 1 | -48/+41 | |
2017-02-07 | Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix | Eelco Dolstra | 2 | -2/+1 | |
2017-01-26 | openLockFile: Return an AutoCloseFD | Eelco Dolstra | 1 | -2/+2 | |
2017-01-24 | Hopefully fix build on older GCC | Eelco Dolstra | 1 | -3/+5 | |
http://hydra.nixos.org/build/46805140 | |||||
2017-01-24 | Fix typo | Eelco Dolstra | 1 | -1/+1 | |
2017-01-24 | build-remote: Use futimes instead of futimens on APPLE | Shea Levy | 1 | -0/+7 | |
2017-01-20 | nix-copy-closure: Implement in C++. | Shea Levy | 2 | -2/+1 | |
Tests fail currently because the database is not given proper hashes in the VM | |||||
2017-01-10 | build-remote: Don't use C++ streams to read the conf file | Shea Levy | 1 | -29/+29 | |
2017-01-10 | build-remote: Use std::set for feature sets | Shea Levy | 1 | -18/+14 | |
2016-11-10 | build-remote: replace strtoull with stoull to take advantage of C++ error ↵ | Shea Levy | 1 | -2/+2 | |
handling | |||||
2016-11-10 | build-remote: Implement in C++ | Shea Levy | 2 | -0/+291 | |