aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/goal.cc
AgeCommit message (Collapse)Author
2021-08-08libstore: use set instead of list for waiter listAndreas Rammhold
This replaces the O(n) search complexity in our insert code with a lookup of O(log n). It also makes removing waitees easier as we can use the extract method provided by the set class.
2021-04-07PathSubstitutionGoal: Clean up pipeEelco Dolstra
If there were many top-level goals (which are not destroyed until the very end), commands like $ nix copy --to 'ssh://localhost?remote-store=/tmp/nix' \ /run/current-system --no-check-sigs --substitute-on-destination could fail with "Too many open files". So now we do some explicit cleanup from amDone(). It would be cleaner to separate goals from their temporary internal state, but that would be a bigger refactor.
2020-10-12Change .cc files to use split build headersJohn Ericson
2020-10-11Trim build/goal.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/goal.cc)John Ericson