aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/profiles.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-03 11:06:56 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-03 11:06:56 +0200
commitb74f5cdd2330ea1028eb6b04217bbe20c71a368b (patch)
treec1b6527a49b6958a07e84932492e07804859aaa6 /src/libstore/profiles.hh
parent94a043ff3b0e9de92bdb62372f9a82186d8e871c (diff)
createGeneration(): Take a StorePath
Diffstat (limited to 'src/libstore/profiles.hh')
-rw-r--r--src/libstore/profiles.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/profiles.hh b/src/libstore/profiles.hh
index abe507f0e..be55a65d4 100644
--- a/src/libstore/profiles.hh
+++ b/src/libstore/profiles.hh
@@ -8,6 +8,8 @@
namespace nix {
+class StorePath;
+
typedef unsigned int GenerationNumber;
@@ -28,7 +30,7 @@ std::pair<Generations, std::optional<GenerationNumber>> findGenerations(Path pro
class LocalFSStore;
-Path createGeneration(ref<LocalFSStore> store, Path profile, Path outPath);
+Path createGeneration(ref<LocalFSStore> store, Path profile, StorePath outPath);
void deleteGeneration(const Path & profile, GenerationNumber gen);