Add a flake file to build the project
This commit is contained in:
18
flake.nix
Normal file
18
flake.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
bergamot-elm = import ./elm.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
packages = { inherit bergamot-elm; };
|
||||
defaultPackage = bergamot-elm;
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user