1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 20:16:03 +01:00

libstore: Add forward declarations for SandboxMode serializers

This is necessary to make libstore-tests for store configs work again.
This commit is contained in:
Sergei Zimmerman 2025-08-11 17:51:03 +03:00
parent a7fb257ec2
commit 28b74c3143
No known key found for this signature in database

View file

@ -18,6 +18,11 @@ namespace nix {
typedef enum { smEnabled, smRelaxed, smDisabled } SandboxMode; typedef enum { smEnabled, smRelaxed, smDisabled } SandboxMode;
template<>
SandboxMode BaseSetting<SandboxMode>::parse(const std::string & str) const;
template<>
std::string BaseSetting<SandboxMode>::to_string() const;
struct MaxBuildJobsSetting : public BaseSetting<unsigned int> struct MaxBuildJobsSetting : public BaseSetting<unsigned int>
{ {
MaxBuildJobsSetting( MaxBuildJobsSetting(