-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
42 lines (40 loc) · 1.37 KB
/
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
37
38
39
40
41
42
{
description = "Haskell bindings to the Temporal Core library as well as an SDK built on top of it.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
devenv.url = "github:cachix/devenv/v1.0.5";
flake-parts.url = "github:hercules-ci/flake-parts";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ self, ... }:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = (import ./nix/utils/matrix.nix).systems;
imports = [
./nix/overlays/temporal-bridge/module.nix
./nix/overlays/haskell/module.nix
./nix/devenv/module.nix
./nix/packages/module.nix
];
};
# --- Flake Local Nix Configuration -----------------------------------------
nixConfig = {
# This sets the flake to use several upstream substituters that have cached
# artifacts for some of our dependencies.
#
# Nix should ask for permission before using it, but remove it here if you
# do not want it to.
extra-substituters = [
"https://cache.garnix.io"
"https://devenv.cachix.org"
];
extra-trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
];
allow-import-from-derivation = "true";
};
}