dev: Add hercules-ci-effects dev input
(cherry picked from commit 85f10d0410a061f151722042924afc8523869aa7)
This commit is contained in:
parent
7918175c24
commit
bd8ebcbb01
3 changed files with 66 additions and 4 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ inputs, ... }: {
|
||||
imports = [ inputs.pre-commit-hooks-nix.flakeModule ];
|
||||
{ lib, inputs, withSystem, ... }: {
|
||||
imports = [
|
||||
inputs.pre-commit-hooks-nix.flakeModule
|
||||
inputs.hercules-ci-effects.flakeModule
|
||||
];
|
||||
perSystem = { config, pkgs, ... }: {
|
||||
|
||||
pre-commit.settings.hooks.nixpkgs-fmt.enable = true;
|
||||
|
|
@ -55,6 +58,7 @@
|
|||
pkgs.clang-tools # clangd
|
||||
pkgs.valgrind
|
||||
pkgs.gdb
|
||||
pkgs.hci
|
||||
# TODO: set up cargo-valgrind in shell and build
|
||||
# currently both this and `cargo install cargo-valgrind`
|
||||
# produce a binary that says ENOENT.
|
||||
|
|
@ -68,7 +72,8 @@
|
|||
NIX_PATH = "nixpkgs=${inputs.nixpkgs}";
|
||||
};
|
||||
};
|
||||
flake = {
|
||||
herculesCI.ciSystems = [ "x86_64-linux" ];
|
||||
herculesCI = hci@{ config, ... }: {
|
||||
ciSystems = [ "x86_64-linux" ];
|
||||
};
|
||||
flake = { };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue