diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-26T14·20+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-02T14·46+0100 |
commit | cca4a8dc1a622ab086639e5c09347303c062922e (patch) | |
tree | ffcb9e1ea9874b1408098baae1a35bc768dcee56 /perl | |
parent | 00b2c05749f9777a91543cad9ecafb0981389be6 (diff) |
importPaths(): Optionally add NARs to binary cache accessor
This enables an optimisation in hydra-queue-runner, preventing a download of a NAR it just uploaded to the cache when reading files like hydra-build-products.
Diffstat (limited to 'perl')
-rw-r--r-- | perl/lib/Nix/Store.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs index 44c88a87bfc6..bb322875d0ca 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -186,7 +186,7 @@ void importPaths(int fd) PPCODE: try { FdSource source(fd); - store()->importPaths(false, source); + store()->importPaths(false, source, 0); } catch (Error & e) { croak("%s", e.what()); } |