aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.cc
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/nix/command.cc
parent94a043ff3b0e9de92bdb62372f9a82186d8e871c (diff)
createGeneration(): Take a StorePath
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r--src/nix/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc
index 2f1fbded1..efac230bd 100644
--- a/src/nix/command.cc
+++ b/src/nix/command.cc
@@ -134,7 +134,7 @@ void MixProfile::updateProfile(const StorePath & storePath)
switchLink(profile2,
createGeneration(
ref<LocalFSStore>(store),
- profile2, store->printStorePath(storePath)));
+ profile2, storePath));
}
void MixProfile::updateProfile(const Buildables & buildables)