blob: 4327bafbd74a4810c7aab6bf7a1a4c7de367fee2 (
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
|
{
inputs = {
teleia.url = "github:lcolonq/teleia";
nixpkgs.follows = "teleia/nixpkgs";
};
outputs = inputs@{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
jam = inputs.teleia.native.build ./. "jam";
in {
packages.${system} = {
inherit jam;
default = jam;
};
applications.${system}.default = {
type = "app";
program = "${jam}/bin/jam_server";
};
devShells.${system}.default = inputs.teleia.shell.overrideAttrs (final: prev: {
buildInputs = prev.buildInputs;
});
};
}
|