forked from astarte-platform/astarte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
36 lines (33 loc) · 934 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
26
27
28
29
30
31
32
33
34
35
36
{
description = "Open Source IoT platform focused on Data management and processing";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
elixir-utils = {
url = "github:noaccOS/elixir-utils";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
};
outputs =
inputs@{
self,
flake-parts,
elixir-utils,
nixpkgs,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = elixir-utils.lib.defaultSystems;
perSystem =
{ pkgs, ... }:
{
devShells.default = pkgs.callPackage elixir-utils.lib.asdfDevShell {
toolVersions = ./.tool-versions;
wxSupport = false;
};
formatter = pkgs.nixfmt-rfc-style;
};
};
}