1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

build-remote: Don't require signatures

This restores the old behaviour.
This commit is contained in:
Eelco Dolstra 2017-05-01 20:03:25 +02:00
parent 031d70e500
commit 3a5f04f48c
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
6 changed files with 20 additions and 16 deletions

View file

@ -570,10 +570,6 @@ public:
const Stats & getStats();
/* Whether this store paths from this store can be imported even
if they lack a signature. */
virtual bool isTrusted() { return false; }
/* Return the build log of the specified store path, if available,
or null otherwise. */
virtual std::shared_ptr<std::string> getBuildLog(const Path & path)
@ -695,7 +691,8 @@ ref<Store> openStore(const std::string & uri = getEnv("NIX_REMOTE"),
const Store::Params & extraParams = Store::Params());
void copyPaths(ref<Store> from, ref<Store> to, const PathSet & storePaths, bool substitute = false);
void copyPaths(ref<Store> from, ref<Store> to, const PathSet & storePaths,
bool substitute = false, bool dontCheckSigs = false);
enum StoreType {
tDaemon,