clean up flake

This commit is contained in:
raf 2023-12-24 21:20:12 +03:00
commit 768fc24f2b
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 8 additions and 8 deletions

View file

@ -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;
};
}