forked from lix-project/lix
f9611c7ae4
(cherry picked from commit b82f75464d
)
22 lines
405 B
C++
22 lines
405 B
C++
#pragma once
|
|
|
|
#include "derivations.hh"
|
|
#include "store-api.hh"
|
|
|
|
namespace nix {
|
|
|
|
struct Package {
|
|
Path path;
|
|
bool active;
|
|
int priority;
|
|
Package(Path path, bool active, int priority) : path{path}, active{active}, priority{priority} {}
|
|
};
|
|
|
|
typedef std::vector<Package> Packages;
|
|
|
|
void buildProfile(const Path & out, Packages && pkgs);
|
|
|
|
void builtinBuildenv(const BasicDerivation & drv);
|
|
|
|
}
|