aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/builtins/buildenv.hh
blob: 0a37459b0f0e432644c0df80412a177ed6e417ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);

}