{
description = "preview github flavored markdown locally";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
naersk = {
url = "github:nix-community/naersk";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, naersk, }: let
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forEachSystem = f:
nixpkgs.lib.genAttrs systems
(system: f nixpkgs.legacyPackages.${system});
in {
packages = forEachSystem (pkgs: rec {
meread = import ./package.nix {inherit pkgs naersk;};
default = meread;
});
};
}