diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-01-08T18·13+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-01-08T18·13+0100 |
commit | 7b9583680e9e1be1df2a5cd0d71ed8f9a7d45fad (patch) | |
tree | 4019e605fd37c1c9025be942a3cf61a72f0d9a4f /src/nix-daemon/nix-daemon.cc | |
parent | 6e0989685ab2e7c0e24aafeaaa3f389289c9684b (diff) |
Improve error message with --repair for untrusted users
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 5629cc64b96e..b5d49b6428ac 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -411,7 +411,7 @@ static void performOp(TunnelLogger * logger, ref<LocalStore> store, /* Repairing is not atomic, so disallowed for "untrusted" clients. */ if (mode == bmRepair && !trusted) - throw Error("repairing is not supported when building through the Nix daemon"); + throw Error("repairing is not allowed because you are not in 'trusted-users'"); } logger->startWork(); store->buildPaths(drvs, mode); |