diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-12 23:11:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-13 00:44:01 +0200 |
commit | 76533c52c06de4823738b32e450a1a06522018d1 (patch) | |
tree | 777d0a1d5dc8001ed4133ef1f8a4fc6b368cea01 /nix/libstore/build.cc | |
parent | bd9b15fb31f36f0d592b777bc95205eb0b037035 (diff) | |
download | patches-76533c52c06de4823738b32e450a1a06522018d1.tar patches-76533c52c06de4823738b32e450a1a06522018d1.tar.gz |
daemon: Replace "illegal" by "invalid" in error messages.
* nix/libstore/build.cc (parseReferenceSpecifiers): Replace "illegal" by
"invalid".
* nix/libstore/globals.cc (Settings::pack): Likewise.
* nix/libstore/store-api.cc (checkStoreName): Likewise.
Diffstat (limited to 'nix/libstore/build.cc')
-rw-r--r-- | nix/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 06bc7601b9..fe7bf79069 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -2348,7 +2348,7 @@ PathSet parseReferenceSpecifiers(const Derivation & drv, string attr) else if (drv.outputs.find(*i) != drv.outputs.end()) result.insert(drv.outputs.find(*i)->second.path); else throw BuildError( - format("derivation contains an illegal reference specifier `%1%'") + format("derivation contains an invalid reference specifier `%1%'") % *i); } return result; |