a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Michael Zhang 2024-06-29 14:04:50 -05:00
parent 043b3ebe74
commit 83ceb81f8a
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -1,26 +1,34 @@
{ {
inputs.agda.url = "github:agda/agda"; inputs.agda.url = "github:agda/agda";
outputs = { self, nixpkgs, flake-utils, agda }: flake-utils.lib.eachDefaultSystem (system: outputs = { self, nixpkgs, flake-utils, agda, }:
let flake-utils.lib.eachDefaultSystem (system:
pkgs = import nixpkgs { inherit system; }; let
agda-pkg = agda.packages.x86_64-linux.default; pkgs = import nixpkgs { inherit system; };
flakePkgs = rec { agda-pkg = agda.packages.x86_64-linux.default;
agda-bin = pkgs.callPackage ./nix/agda-bin.nix { inherit agda-pkg; }; flakePkgs = rec {
docker-builder = pkgs.callPackage ./nix/docker-builder.nix { inherit agda-bin; }; agda-bin = pkgs.callPackage ./nix/agda-bin.nix { inherit agda-pkg; };
}; docker-builder =
in pkgs.callPackage ./nix/docker-builder.nix { inherit agda-bin; };
{ };
packages = flake-utils.lib.flattenTree flakePkgs; in {
devShell = pkgs.mkShell { packages = flake-utils.lib.flattenTree flakePkgs;
packages = with pkgs; [ devShell = pkgs.mkShell {
bun ASTRO_TELEMETRY_DISABLED = 1;
woodpecker-cli
nixfmt-rfc-style packages = with pkgs;
dive with flakePkgs; [
nix-tree bun
vips woodpecker-cli
shellcheck nixfmt-rfc-style
]; dive
}; nix-tree
}); vips
shellcheck
agda-bin
nodejs_20
corepack
];
};
});
} }