Run tests when building the nix package

This commit is contained in:
Sven van Heugten 2026-02-22 10:28:22 +01:00
parent 144ef949cf
commit c04ccf4974
No known key found for this signature in database
GPG key ID: D612F88666F4F660
3 changed files with 55 additions and 5 deletions

View file

@ -14,11 +14,7 @@
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.default = pkgs.writeShellApplication {
name = "git-check-assertions";
runtimeInputs = [ pkgs.git ];
text = builtins.readFile ./git-check-assertions;
};
packages.default = pkgs.callPackage ./default.nix { };
devShells.default = pkgs.mkShell {
packages = with pkgs; [ bats ];
};