diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-05-30 15:01:59 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-08-17 16:47:35 +0200 |
| commit | 6fbe87f2c890e10c6b24f838b73ad3683b5c97b0 (patch) | |
| tree | bbdfe0b22b75d4f6d7dd2bb8609eaf25e1d7ba8e /nix/nix-daemon | |
| parent | 30d5740056fce43fede63237bb826f86a3237566 (diff) | |
daemon: Remove ‘requireSignature’ argument to ‘importPaths’.
For ‘guix-daemon’ the value of ‘requireSignature’ has always been true.
* nix/libstore/store-api.hh (StoreAPI)[importPaths]: Remove ‘requireSignature’
argument.
* nix/libstore/local-store.hh (LocalStore)[importPaths]: Likewise.
* nix/libstore/local-store.cc (LocalStore::importPaths): Adjust accordingly.
* nix/nix-daemon/nix-daemon.cc (performOp): Remove first argument to
‘importPaths’.
Change-Id: I7ed87f3af03cca7078e224788114c499773f01c2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'nix/nix-daemon')
| -rw-r--r-- | nix/nix-daemon/nix-daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/nix-daemon/nix-daemon.cc b/nix/nix-daemon/nix-daemon.cc index b3cdb699ac2..49172d53e9e 100644 --- a/nix/nix-daemon/nix-daemon.cc +++ b/nix/nix-daemon/nix-daemon.cc | |||
| @@ -480,7 +480,7 @@ static void performOp(bool trusted, unsigned int clientVersion, | |||
| 480 | 480 | ||
| 481 | /* Unlike Nix, always require a signature, even for "trusted" | 481 | /* Unlike Nix, always require a signature, even for "trusted" |
| 482 | users. */ | 482 | users. */ |
| 483 | Paths paths = store->importPaths(true, source); | 483 | Paths paths = store->importPaths(source); |
| 484 | stopWork(); | 484 | stopWork(); |
| 485 | writeStrings(paths, to); | 485 | writeStrings(paths, to); |
| 486 | break; | 486 | break; |
