diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-12 04:17:29 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-12 04:17:29 -0400 |
| commit | 140f3eeead7f56ce2fd65e727ae638372af97750 (patch) | |
| tree | 9ec2c0c4c2c4b88c02ab4418e67a10d4ff8986fa /2026/flake.nix | |
| parent | 8cdb8016dedf16caf1bf5ad0eeb9d8b13e00ca2a (diff) | |
Add test server
Diffstat (limited to '2026/flake.nix')
| -rw-r--r-- | 2026/flake.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2026/flake.nix b/2026/flake.nix new file mode 100644 index 0000000..4327baf --- /dev/null +++ b/2026/flake.nix @@ -0,0 +1,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; + }); + }; +} |
