soonix/flake.nix

38 lines
730 B
Nix
Raw Normal View History

2025-08-25 16:45:22 +02:00
{
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")
2025-08-27 11:22:26 +02:00
(simple "docs")
(simple "soonix")
2025-09-04 11:01:08 +02:00
(simple "ci")
2025-08-25 16:45:22 +02:00
];
}
{
packages = ren.select self [
["repo" "tests"]
2025-08-27 11:22:26 +02:00
["repo" "docs"]
2025-09-04 11:01:08 +02:00
["repo" "ci" "packages"]
["repo" "soonix" "packages"]
2025-08-25 16:45:22 +02:00
];
};
}