mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-10 21:30:07 +01:00
37 lines
725 B
Nix
37 lines
725 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
ren.url = "gitlab:rensa-nix/core?dir=lib";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
ren,
|
|
...
|
|
} @ inputs:
|
|
ren.buildWith
|
|
{
|
|
inherit inputs;
|
|
cellsFrom = ./nix;
|
|
transformInputs = system: i:
|
|
i
|
|
// {
|
|
pkgs = import i.nixpkgs {inherit system;};
|
|
};
|
|
cellBlocks = with ren.blocks; [
|
|
(simple "devShells")
|
|
(simple "tests")
|
|
(simple "benchmark")
|
|
(simple "docs")
|
|
(simple "ci")
|
|
];
|
|
}
|
|
{
|
|
packages = ren.select self [
|
|
["repo" "tests"]
|
|
["repo" "benchmark"]
|
|
["repo" "docs"]
|
|
["repo" "ci" "packages"]
|
|
];
|
|
};
|
|
}
|