forked from astarte-platform/astartectl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
29 lines (27 loc) · 796 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
{
description = "Astarte command line client utility";
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
go-utils = { url = "github:noaccOS/go-utils"; inputs.nixpkgs.follows = "nixpkgs"; };
flake-utils.url = "github:numtide/flake-utils";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
outputs = { self, nixpkgs, flake-utils, go-utils, ... }:
flake-utils.lib.eachSystem go-utils.lib.defaultSystems
(system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
devShells.default = pkgs.simpleGoShell;
}
) // {
overlays.default = go-utils.lib.asdfOverlay { src = ./.; };
};
}