aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/derivations.hh
diff options
context:
space:
mode:
Diffstat (limited to 'nix/libstore/derivations.hh')
-rw-r--r--nix/libstore/derivations.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/libstore/derivations.hh b/nix/libstore/derivations.hh
index 703410b925..04b64dfc88 100644
--- a/nix/libstore/derivations.hh
+++ b/nix/libstore/derivations.hh
@@ -59,8 +59,8 @@ class StoreAPI;
Path writeDerivation(StoreAPI & store,
const Derivation & drv, const string & name, bool repair = false);
-/* Parse a derivation. */
-Derivation parseDerivation(const string & s);
+/* Read a derivation from a file. */
+Derivation readDerivation(const Path & drvPath);
/* Print a derivation. */
string unparseDerivation(const Derivation & drv);