mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-11 22:00:08 +01:00
40 lines
838 B
Nix
40 lines
838 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
ren.url = "gitlab:rensa-nix/core?dir=lib";
|
|
std = {
|
|
url = "github:divnix/std";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
lib.follows = "nixpkgs";
|
|
paisano-tui.follows = "";
|
|
dmerge.follows = "";
|
|
blank.follows = "";
|
|
};
|
|
};
|
|
};
|
|
|
|
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")
|
|
(simple "benchmark")
|
|
];
|
|
}
|
|
{
|
|
packages = ren.select self [["repo" "tests"] ["repo" "benchmark"]];
|
|
};
|
|
}
|