twin/flake.nix

18 lines
461 B
Nix
Raw Normal View History

2024-03-10 18:55:58 +01:00
{ description = "generate a index of gemtext files";
2023-07-31 00:29:39 +02:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
2024-03-10 18:55:58 +01:00
compiler = "ghc94";
2023-07-31 00:29:39 +02:00
in {
2024-03-10 18:55:58 +01:00
packages.default = pkgs.haskell.packages.${compiler}.callPackage ./package.nix { };
2023-07-31 00:29:39 +02:00
});
}