blob: d4256979d9cb5fd8e16ff0fc3e96872ddc6aabc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
inputs = {
teleia.url = "github:lcolonq/teleia";
nixpkgs.follows = "teleia/nixpkgs";
st = {
url = "github:lcolonq/st";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
native = {
renderer = inputs.teleia.native.build ./. "renderer";
};
wasm = {
throwshade = inputs.teleia.wasm.build ./. "throwshade";
};
in {
packages.${system} = {
inherit native wasm;
st = inputs.st.packages.x86_64-linux.st;
};
devShells.${system}.default = inputs.teleia.shell;
};
}
|