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.
Showing
- src/build-remote/build-remote.cc 44 additions, 33 deletionssrc/build-remote/build-remote.cc
- src/libstore/build.cc 1 addition, 0 deletionssrc/libstore/build.cc
- src/libstore/store-api.cc 4 additions, 7 deletionssrc/libstore/store-api.cc
- src/libstore/store-api.hh 17 additions, 6 deletionssrc/libstore/store-api.hh
Loading
Please register or sign in to comment