mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-11 22:00:08 +01:00
34 lines
675 B
Nix
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"]];
|
|
};
|
|
}
|