okami.mom/albedo

git clone https://git.nkp.pet/okami.mom/albedo

nekomimi.petfix(nix): track nixos-unstable so CI stops compiling Gleam 1.195b4d1b2

main
1.2 KiB41 linesraw
1{
2  description = "albedo coding agent and terminal client";
3
4  inputs = {
5    # nixos-unstable, not nixpkgs-unstable: that channel lags by days, and while
6    # it still shipped Gleam 1.18 every CI run compiled Gleam 1.19 from source.
7    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
8    flake-parts.url = "github:hercules-ci/flake-parts";
9
10    treefmt-nix = {
11      url = "github:numtide/treefmt-nix";
12      inputs.nixpkgs.follows = "nixpkgs";
13    };
14
15    # Development linter, separate from the daemon's Gleam dependencies.
16    glinter = {
17      url = "github:pairshaped/glinter";
18      flake = false;
19    };
20
21    # Pinned Zig usage CLI consumed by the daemon as a non-flake archive.
22    usage-core = {
23      url = "https://api.next.tangled.org/xrpc/org.tangled.temp.git.getArchive?repo=did%3Aplc%3A2lf7buutfnfcucljnmaypf7u&ref=1a4bff9&format=tar.gz&prefix=provide-usage-main";
24      flake = false;
25    };
26  };
27
28  outputs = inputs @ {flake-parts, ...}:
29    flake-parts.lib.mkFlake {inherit inputs;} {
30      systems = [
31        "aarch64-darwin"
32        "aarch64-linux"
33        "x86_64-linux"
34      ];
35
36      imports = [
37        ./flake
38        inputs.treefmt-nix.flakeModule
39      ];
40    };
41}