diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03 16:02:12 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03 16:03:49 +0200 |
commit | e07ec8d27e08bf23eccab079b044a6f1b37f3ac9 (patch) | |
tree | 0dacd79c9a2ff40662de47d2e0515b535e684867 /src/libstore/derivations.cc | |
parent | cec50290bf5537d574fd94557bd3918f2bea8a30 (diff) |
Support allowSubstitutes attribute in structured attribute derivations
Hopefully fixes #3081 (didn't test).
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r-- | src/libstore/derivations.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index 3961126ff..23fcfb281 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -36,12 +36,6 @@ Path BasicDerivation::findOutput(const string & id) const } -bool BasicDerivation::substitutesAllowed() const -{ - return get(env, "allowSubstitutes", "1") == "1"; -} - - bool BasicDerivation::isBuiltin() const { return string(builder, 0, 8) == "builtin:"; |