mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
copyStorePath(): Don't require signatures for "trusted" stores
For example, SSH stores could be trusted.
This commit is contained in:
parent
fa07558a06
commit
f38224e924
2 changed files with 13 additions and 0 deletions
|
@ -562,6 +562,10 @@ 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; }
|
||||
|
||||
protected:
|
||||
|
||||
Stats stats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue