2023-11-29 20:36:46 -08:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
bergamot-elm.url = "git+https://dev.danilafe.com/Everything-I-Know-About-Types/bergamot-elm.git?ref=main";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils, bergamot-elm }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (
|
|
|
|
system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
web-files = import ./default.nix {
|
2023-11-29 20:54:40 -08:00
|
|
|
inherit (pkgs) stdenv mkYarnModules;
|
2023-11-29 20:36:46 -08:00
|
|
|
bergamot-elm = bergamot-elm.defaultPackage.${system};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
packages = { inherit web-files; };
|
|
|
|
defaultPackage = web-files;
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|