summaryrefslogtreecommitdiff
path: root/2026/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '2026/flake.nix')
-rw-r--r--2026/flake.nix25
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;
+ });
+ };
+}