forked from astarte-platform/astarte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
25 lines (25 loc) · 829 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
description = "Open Source IoT platform focused on Data management and processing";
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
elixir-utils = {
url = github:noaccOS/elixir-utils;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, elixir-utils, flake-utils, ... }:
{
overlays.default = elixir-utils.lib.asdfOverlay { src = ./.; };
} //
flake-utils.lib.eachSystem elixir-utils.lib.defaultSystems (system:
let pkgs = import nixpkgs { inherit system; overlays = [ self.overlays.default ]; };
in {
devShells.default = pkgs.elixirDevShell;
formatter = pkgs.nixpkgs-fmt;
});
}