This commit is contained in:
parent
043b3ebe74
commit
83ceb81f8a
1 changed files with 31 additions and 23 deletions
18
flake.nix
18
flake.nix
|
@ -1,18 +1,22 @@
|
||||||
{
|
{
|
||||||
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, }:
|
||||||
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
agda-pkg = agda.packages.x86_64-linux.default;
|
agda-pkg = agda.packages.x86_64-linux.default;
|
||||||
flakePkgs = rec {
|
flakePkgs = rec {
|
||||||
agda-bin = pkgs.callPackage ./nix/agda-bin.nix { inherit agda-pkg; };
|
agda-bin = pkgs.callPackage ./nix/agda-bin.nix { inherit agda-pkg; };
|
||||||
docker-builder = pkgs.callPackage ./nix/docker-builder.nix { inherit agda-bin; };
|
docker-builder =
|
||||||
|
pkgs.callPackage ./nix/docker-builder.nix { inherit agda-bin; };
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
packages = flake-utils.lib.flattenTree flakePkgs;
|
packages = flake-utils.lib.flattenTree flakePkgs;
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
ASTRO_TELEMETRY_DISABLED = 1;
|
||||||
|
|
||||||
|
packages = with pkgs;
|
||||||
|
with flakePkgs; [
|
||||||
bun
|
bun
|
||||||
woodpecker-cli
|
woodpecker-cli
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
@ -20,6 +24,10 @@
|
||||||
nix-tree
|
nix-tree
|
||||||
vips
|
vips
|
||||||
shellcheck
|
shellcheck
|
||||||
|
agda-bin
|
||||||
|
|
||||||
|
nodejs_20
|
||||||
|
corepack
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue