devshell/flake.nix
2025-07-31 12:37:19 +02:00

34 lines
675 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
std = {
url = "github:divnix/std";
inputs = {
nixpkgs.follows = "nixpkgs";
lib.follows = "nixpkgs";
paisano-tui.follows = "";
dmerge.follows = "";
blank.follows = "";
};
};
};
outputs = {
self,
std,
...
} @ inputs:
std.growOn
{
inherit inputs;
cellsFrom = ./.nix;
cellBlocks = with std.blockTypes; [
(devshells "devShells")
(pkgs "tests")
(runnables "benchmark")
];
}
{
packages = std.harvest self [["repo" "tests"] ["repo" "benchmark"]];
};
}