diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-03 11:06:56 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-09-03 11:06:56 +0200 |
commit | b74f5cdd2330ea1028eb6b04217bbe20c71a368b (patch) | |
tree | c1b6527a49b6958a07e84932492e07804859aaa6 /src/libstore/profiles.hh | |
parent | 94a043ff3b0e9de92bdb62372f9a82186d8e871c (diff) |
createGeneration(): Take a StorePath
Diffstat (limited to 'src/libstore/profiles.hh')
-rw-r--r-- | src/libstore/profiles.hh | 4 |
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); |