mirror of
https://gitlab.com/rensa-nix/core.git
synced 2025-12-11 22:00:09 +01:00
feat: add devshell and improve input handling of cells
pass system to cells and their flake.nix inputs
This commit is contained in:
parent
2774f3ea91
commit
c9c329ec0f
9 changed files with 62 additions and 5 deletions
14
cells/repo/flake.nix
Normal file
14
cells/repo/flake.nix
Normal 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;};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue