From 42c5774e78a9f1422dee9c35adb9c056aa994d3b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 Jul 2017 16:34:53 +0200 Subject: Sort substituters by priority Fixes #1438. --- src/libstore/binary-cache-store.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstore/binary-cache-store.hh') diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index bf5a56ab4..f9c1c2cbe 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -123,6 +123,8 @@ public: std::shared_ptr getBuildLog(const Path & path) override; + int getPriority() override { return priority; } + }; } -- cgit v1.2.3