diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-17 13:58:55 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-11-17 13:58:55 +0100 |
commit | e6b7c7b79c697f1d8508930964e8c810f04a8963 (patch) | |
tree | 0085f736803a3217f11aa429620a120145d2c00b /src/libstore/derivations.cc | |
parent | bccff827dc968b08bddda03aadcb3d9cc41c2719 (diff) |
Cleanup
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r-- | src/libstore/derivations.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index eea129df3..106ec5daa 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -468,10 +468,7 @@ static const DrvHashModulo & pathDerivationModulo(Store & store, const StorePath drvPath, hashDerivationModulo( store, - parseDerivation( - store, - readFile(store.toRealPath(drvPath)), - Derivation::nameFromPath(drvPath)), + store.readInvalidDerivation(drvPath), false)).first; } return h->second; |