mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
scanForReferences(): Use a StorePathSet
This commit is contained in:
parent
172b7f266c
commit
ef34fd0656
3 changed files with 20 additions and 24 deletions
|
|
@ -2140,8 +2140,7 @@ void LocalDerivationGoal::registerOutputs()
|
|||
|
||||
/* Pass blank Sink as we are not ready to hash data at this stage. */
|
||||
NullSink blank;
|
||||
auto references = worker.store.parseStorePathSet(
|
||||
scanForReferences(blank, actualPath, worker.store.printStorePathSet(referenceablePaths)));
|
||||
auto references = scanForReferences(blank, actualPath, referenceablePaths);
|
||||
|
||||
outputReferencesIfUnregistered.insert_or_assign(
|
||||
outputName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue