-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
42 lines (37 loc) · 1.24 KB
/
Copy pathflake.nix
File metadata and controls
42 lines (37 loc) · 1.24 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
description = "Aurekai Nix integration — developer shell and pipeline runners";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
aurekaiVersion = "0.8.0-alpha.4";
in {
devShells.default = pkgs.mkShell {
name = "aurekai-dev";
buildInputs = with pkgs; [
bash
python311
jq
curl
];
shellHook = ''
echo "Aurekai dev shell v${aurekaiVersion}"
export AUREKAI_VERSION="${aurekaiVersion}"
'';
};
packages.doctor-deep = pkgs.writeShellScriptBin "aurekai-doctor-deep" ''
exec akai doctor --deep --json "$@"
'';
packages.manifest-verify = pkgs.writeShellScriptBin "aurekai-manifest-verify" ''
exec akai verify --manifest "''${1:-artifact.json}" --json
'';
packages.release-gate = pkgs.writeShellScriptBin "aurekai-release-gate" ''
exec akai release gate --version "${aurekaiVersion}" --json "$@"
'';
}
);
}