Initial commit

This commit is contained in:
NotAShelf 2023-12-24 20:02:13 +03:00 committed by NotAShelf
commit a94a991fab
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
372 changed files with 215877 additions and 0 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
description = "mdlinkt: detect broken links in markdown files";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = {
self,
nixpkgs,
}: let
systems = ["x86_64-linux" "aarch64-linux"];
forEachSystem = nixpkgs.lib.genAttrs systems;
pkgsForEach = nixpkgs.legacyPackages;
in rec {
packages = forEachSystem (system: {
default = pkgsForEach.${system}.callPackage ./nix/package.nix {};
});
devShells = forEachSystem (system: {
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
});
hydraJobs = packages;
};
}