aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/parsed-derivations.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-12 16:32:36 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-12 18:13:00 +0000
commit4720853129b6866775edd9f90ad6f10701f98a3c (patch)
treea13e1d077c6254de55521bf9edd91749546c71b5 /src/libstore/parsed-derivations.hh
parent574bf60b4d47f64c0b83b0cd032d34a67dbb3453 (diff)
Make `system-features` a store setting
This seems more correct. It also means one can specify the features a store should support with --store and remote-store=..., which is useful. I use this to clean up the build remotes test.
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r--src/libstore/parsed-derivations.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index 6ee172d81..3fa09f34f 100644
--- a/src/libstore/parsed-derivations.hh
+++ b/src/libstore/parsed-derivations.hh
@@ -29,9 +29,9 @@ public:
StringSet getRequiredSystemFeatures() const;
- bool canBuildLocally() const;
+ bool canBuildLocally(Store & localStore) const;
- bool willBuildLocally() const;
+ bool willBuildLocally(Store & localStore) const;
bool substitutesAllowed() const;
};