diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-12 16:32:36 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-12 18:13:00 +0000 |
commit | 4720853129b6866775edd9f90ad6f10701f98a3c (patch) | |
tree | a13e1d077c6254de55521bf9edd91749546c71b5 /src/libstore/parsed-derivations.hh | |
parent | 574bf60b4d47f64c0b83b0cd032d34a67dbb3453 (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.hh | 4 |
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; }; |