about summary refs log tree commit diff
path: root/third_party/nix/src/nix-env/user-env.hh
blob: 95919a6c8799641eb4097d1fd5cadf7a6d09ec2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#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