mirror of
https://github.com/NotAShelf/mdlinkt.git
synced 2025-10-03 07:23:34 +00:00
clean up flake
This commit is contained in:
parent
50298ea412
commit
768fc24f2b
3 changed files with 8 additions and 8 deletions
11
flake.nix
11
flake.nix
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
description = "mdlinkt: detect broken links in markdown files";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
};
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
|
@ -12,15 +10,14 @@
|
|||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in rec {
|
||||
in {
|
||||
packages = forEachSystem (system: {
|
||||
default = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||
default = self.packages.${system}.mdlinkt;
|
||||
mdlinkt = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||
});
|
||||
|
||||
devShells = forEachSystem (system: {
|
||||
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
|
||||
});
|
||||
|
||||
hydraJobs = packages;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue