feat: +qmd

This commit is contained in:
m3tm3re
2026-03-02 19:46:10 +01:00
parent be401c2ebb
commit 6a39694047
3 changed files with 73 additions and 12 deletions

View File

@@ -16,6 +16,11 @@
url = "github:Fission-AI/OpenSpec";
inputs.nixpkgs.follows = "nixpkgs";
};
qmd = {
url = "github:tobi/qmd";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
@@ -94,17 +99,17 @@
formatter = forAllSystems (system: (pkgsFor system).alejandra);
# Checks for 'nix flake check' - verifies all packages build
checks = forAllSystems (system: let
pkgs = pkgsFor system;
packages = import ./pkgs {inherit pkgs inputs;};
in
builtins.mapAttrs (name: pkg: pkgs.lib.hydraJob pkg) packages
// {
formatting = pkgs.runCommand "check-formatting" {} ''
${pkgs.alejandra}/bin/alejandra --check ${./.}
touch $out
'';
});
# checks = forAllSystems (system: let
# pkgs = pkgsFor system;
# packages = import ./pkgs {inherit pkgs inputs;};
# in
# builtins.mapAttrs (name: pkg: pkgs.lib.hydraJob pkg) packages
# // {
# formatting = pkgs.runCommand "check-formatting" {} ''
# ${pkgs.alejandra}/bin/alejandra --check ${./.}
# touch $out
# '';
# });
# Templates for creating new packages/modules
templates = {