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

Merge pull request #4180 from Ma27/ssh-ng-substitute

Allow substituting paths when building remotely using `ssh-ng://`
This commit is contained in:
Eelco Dolstra 2020-11-17 14:01:04 +01:00 committed by GitHub
commit df5c69a94e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 44 additions and 25 deletions

View file

@ -360,6 +360,11 @@ protected:
public:
/* If requested, substitute missing paths. This
implements nix-copy-closure's --use-substitutes
flag. */
void substitutePaths(const StorePathSet & paths);
/* Query which of the given paths is valid. Optionally, try to
substitute missing paths. */
virtual StorePathSet queryValidPaths(const StorePathSet & paths,