#pragma once

#include "libexpr/get-drvs.hh"

namespace nix {

DrvInfos queryInstalled(EvalState& state, const Path& userEnv);

bool createUserEnv(EvalState& state, DrvInfos& elems, const Path& profile,
                   bool keepDerivations, const std::string& lockToken);

}  // namespace nix