Void CLI #99

Merged
max merged 9 commits from pr-void-cli-paisano into master 2024-07-06 17:11:14 +03:00
3 changed files with 27 additions and 0 deletions
Showing only changes of commit 986a8e8866 - Show all commits

View file

@ -0,0 +1,21 @@
{ lib, ... }:
{
perSystem = { config, ... }: {
catalog.depot = {
checks = lib.mapAttrs (name: check: {
description = "NixOS Test: ${name}";
actions = {
build = {
description = "Build this check.";
command = "nix build -L --no-link '${builtins.unsafeDiscardStringContext check.drvPath}^*'";
};
runInteractive = {
description = "Run interactive driver.";
command = lib.getExe check.driverInteractive;
};
};
}) config.checks;
};
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./checks.nix
];
}

View file

@ -8,6 +8,7 @@ in {
imports = [
./projects.nix
./patched-inputs.nix
./catalog
];
perSystem = { pkgs, self', system, ... }: let
patched-derivations = import ./patched-derivations.nix (pkgs // { flakePackages = self'.packages; });