feat: add devshell and improve input handling of cells

pass system to cells and their flake.nix inputs
This commit is contained in:
technofab 2025-08-06 10:13:34 +02:00
parent 2774f3ea91
commit c9c329ec0f
No known key found for this signature in database
9 changed files with 62 additions and 5 deletions

14
cells/repo/flake.nix Normal file
View file

@ -0,0 +1,14 @@
{
inputs = {
devshell.url = "gitlab:rensa-nix/devshell?dir=lib";
};
outputs = i:
i
// rec {
pkgs = import i.parent.nixpkgs {
inherit (i) system;
};
devshellLib = i.devshell.lib {inherit pkgs;};
};
}