Add git-check-assertions
This commit is contained in:
parent
28e05ee220
commit
eedce14df4
2 changed files with 41 additions and 6 deletions
11
flake.nix
11
flake.nix
|
|
@ -2,12 +2,18 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
git-check-assertions = {
|
||||
url = "git+https://codeberg.org/svenvanheugten/git-check-assertions.git?ref=main";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
git-check-assertions,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
|
|
@ -17,7 +23,10 @@
|
|||
{
|
||||
packages.default = pkgs.callPackage ./default.nix { };
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [ pkgs.dotnet-sdk_10 ];
|
||||
packages = [
|
||||
pkgs.dotnet-sdk_10
|
||||
git-check-assertions.packages.${system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue