diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04T13·48+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04T13·48+0100 |
commit | fa7cd5369b7d9f947b0b26ca681e94b81068a3ef (patch) | |
tree | c31cd0f58e516929a21000de609958b73b7059c7 /src/libstore/derivations.cc | |
parent | c10c61449f954702ae6d8092120321744acd82ff (diff) |
StoreAPI -> Store
Calling a class an API is a bit redundant...
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r-- | src/libstore/derivations.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index da1747da0940..d9b009d40322 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -68,7 +68,7 @@ bool BasicDerivation::canBuildLocally() const } -Path writeDerivation(ref<StoreAPI> store, +Path writeDerivation(ref<Store> store, const Derivation & drv, const string & name, bool repair) { PathSet references; @@ -274,7 +274,7 @@ DrvHashes drvHashes; paths have been replaced by the result of a recursive call to this function, and that for fixed-output derivations we return a hash of its output path. */ -Hash hashDerivationModulo(StoreAPI & store, Derivation drv) +Hash hashDerivationModulo(Store & store, Derivation drv) { /* Return a fixed hash for fixed-output derivations. */ if (drv.isFixedOutput()) { |