aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/lockfile.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-01-30 00:13:37 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-30 00:13:37 +0100
commitb9f93e73869fcbf6e4b2170c824cef7abc465670 (patch)
treef0a7cc2ba022c035b8c640e60fd9658c184e33d9 /src/libexpr/flake/lockfile.hh
parentb9fb3720750a24d8b2fbe6b1491696d6a51dcff3 (diff)
Check LockedInput::computeStorePath()
Diffstat (limited to 'src/libexpr/flake/lockfile.hh')
-rw-r--r--src/libexpr/flake/lockfile.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/flake/lockfile.hh b/src/libexpr/flake/lockfile.hh
index ff1181d13..a9710524b 100644
--- a/src/libexpr/flake/lockfile.hh
+++ b/src/libexpr/flake/lockfile.hh
@@ -6,6 +6,7 @@
namespace nix {
class Store;
+struct StorePath;
}
namespace nix::flake {
@@ -53,7 +54,7 @@ struct LockedInput : LockedInputs
nlohmann::json toJson() const;
- Path computeStorePath(Store & store) const;
+ StorePath computeStorePath(Store & store) const;
};
/* An entire lock file. Note that this cannot be a FlakeInput for the