aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/goal.cc
blob: a4e66d989bf4115211560db088191d1e7e84ce0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "goal.hh"
#include "worker.hh"

namespace nix {


bool CompareGoalPtrs::operator() (const GoalPtr & a, const GoalPtr & b) const {
    std::string s1 = a->key();
    std::string s2 = b->key();
    return s1 < s2;
}


void Goal::trace(std::string_view s)
{
    debug("%1%: %2%", name, s);
}

}