diff --git a/src/libstore/unix/build/external-derivation-builder.cc b/src/libstore/unix/build/external-derivation-builder.cc index 0f32392a5..8efdf8ff9 100644 --- a/src/libstore/unix/build/external-derivation-builder.cc +++ b/src/libstore/unix/build/external-derivation-builder.cc @@ -21,7 +21,7 @@ struct ExternalDerivationBuilder : DerivationBuilderImpl for (auto & system : handler.systems) if (params.drv.platform == system) return std::make_unique( - store, std::move(miscMethods), std::move(params), std::move(handler)); + store, std::move(miscMethods), std::move(params), handler); } return {}; }