1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/*
Taken from Nix source files, requires Nix libraries to build.
Nix is a powerful package manager for Linux and other Unix systems that
makes package management reliable and reproducible. It provides atomic
upgrades and rollbacks, side-by-side installation of multiple versions of a
package, multi-user package management and easy setup of build environments.
Nix is licensed under the LGPL v2.1
Additional source code is available at https://github.com/NixOS/nix
For more information visit http://nixos.org/nix/
*/
#pragma once
#include <nix/get-drvs.hh>
namespace nix {
bool createUserEnv(EvalState & state, DrvInfos & elems, const Path & profile, bool keepDerivations, const std::string & lockToken);
DrvInfos queryInstalled(EvalState & state, const Path & userEnv);
}
|