core/flake.nix
technofab 7222ac48cd
chore: remove lib attr in flake and expose functions directly
add nixpkgs-lib input so we don't need full nixpkgs just for the lib
2025-08-14 11:38:53 +02:00

20 lines
426 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs-lib.url = "github:nix-community/nixpkgs.lib";
};
outputs = inputs: let
rensa = import ./lib {
inherit (inputs.nixpkgs-lib) lib;
};
in
rensa.buildWith {
inherit inputs;
cellsFrom = ./cells;
cellBlocks = with rensa.blocks; [
(simple "test")
(simple "devShells")
];
} {};
}