aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-31 23:21:53 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-31 23:21:53 +0200
commit15f241775ace2bbd807e7222e822bd5bf0f42ff7 (patch)
treeccf8e9bbd2dbee876fc538951929abb827fd3dd1 /src/nix/installables.cc
parent8cb3bbd5044b8fbfc65f13455d1619a78ccf33a5 (diff)
Doh
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r--src/nix/installables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index 38ae416e3..eb3c27d6b 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -315,7 +315,7 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables(
}
else if (auto flakeRef = parseFlakeRef(s, true))
- result.push_back(std::make_shared<InstallableFlake>(*this, s,
+ result.push_back(std::make_shared<InstallableFlake>(*this, std::move(*flakeRef),
getDefaultFlakeAttrPaths()));
else if ((colon = s.rfind(':')) != std::string::npos) {