aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/parsed-derivations.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r--src/libstore/parsed-derivations.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index f4df5dd54..d24d1eb4f 100644
--- a/src/libstore/parsed-derivations.hh
+++ b/src/libstore/parsed-derivations.hh
@@ -12,7 +12,7 @@ class ParsedDerivation
public:
- ParsedDerivation(StorePath && drvPath, BasicDerivation & drv);
+ ParsedDerivation(const StorePath & drvPath, BasicDerivation & drv);
~ParsedDerivation();
@@ -34,6 +34,8 @@ public:
bool willBuildLocally() const;
bool substitutesAllowed() const;
+
+ bool contentAddressed() const;
};
}