2024-06-26 23:18:25 +00:00
|
|
|
{
|
|
|
|
inputs.agda.url = "github:agda/agda";
|
|
|
|
outputs = { self, nixpkgs, flake-utils, agda }: flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
agda-pkg = agda.packages.x86_64-linux.default;
|
2024-06-27 00:17:01 +00:00
|
|
|
flakePkgs = rec {
|
|
|
|
agda-bin = pkgs.callPackage ./nix/agda-bin.nix { inherit agda-pkg; };
|
|
|
|
docker-builder = pkgs.callPackage ./nix/docker-builder.nix { inherit agda-bin; };
|
2024-06-26 23:18:25 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
packages = flake-utils.lib.flattenTree flakePkgs;
|
|
|
|
devShell = pkgs.mkShell {
|
2024-06-27 00:17:01 +00:00
|
|
|
packages = with pkgs; [
|
|
|
|
bun
|
|
|
|
woodpecker-cli
|
|
|
|
nixfmt-rfc-style
|
|
|
|
dive
|
|
|
|
nix-tree
|
|
|
|
vips
|
2024-06-27 00:42:02 +00:00
|
|
|
shellcheck
|
2024-06-27 00:17:01 +00:00
|
|
|
];
|
2024-06-26 23:18:25 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|