2025-07-31 12:37:19 +02:00
|
|
|
{
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2025-08-20 09:03:18 +02:00
|
|
|
ren.url = "gitlab:rensa-nix/core?dir=lib";
|
2025-07-31 12:37:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
|
self,
|
2025-08-20 09:03:18 +02:00
|
|
|
ren,
|
2025-07-31 12:37:19 +02:00
|
|
|
...
|
|
|
|
|
} @ inputs:
|
2025-08-20 09:03:18 +02:00
|
|
|
ren.buildWith
|
2025-07-31 12:37:19 +02:00
|
|
|
{
|
|
|
|
|
inherit inputs;
|
2025-09-15 10:48:33 +02:00
|
|
|
cellsFrom = ./nix;
|
2025-08-20 09:03:18 +02:00
|
|
|
transformInputs = system: i:
|
|
|
|
|
i
|
|
|
|
|
// {
|
|
|
|
|
pkgs = import i.nixpkgs {inherit system;};
|
|
|
|
|
};
|
|
|
|
|
cellBlocks = with ren.blocks; [
|
|
|
|
|
(simple "devShells")
|
|
|
|
|
(simple "tests")
|
|
|
|
|
(simple "benchmark")
|
2025-08-21 13:46:24 +02:00
|
|
|
(simple "docs")
|
2025-07-31 12:37:19 +02:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
{
|
2025-08-21 13:46:24 +02:00
|
|
|
packages = ren.select self [
|
|
|
|
|
["repo" "tests"]
|
|
|
|
|
["repo" "benchmark"]
|
|
|
|
|
["repo" "docs"]
|
|
|
|
|
];
|
2025-07-31 12:37:19 +02:00
|
|
|
};
|
|
|
|
|
}
|