-
Notifications
You must be signed in to change notification settings - Fork 227
Expand file tree
/
Copy pathflake.nix
More file actions
27 lines (25 loc) · 864 Bytes
/
Copy pathflake.nix
File metadata and controls
27 lines (25 loc) · 864 Bytes
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
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
flake-root.url = "github:srid/flake-root";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
};
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
imports = [
inputs.haskell-flake.flakeModule
inputs.flake-root.flakeModule
./nix/flake-module.nix
];
};
nixConfig = {
extra-substituters = ["https://hackage-server.cachix.org/"];
extra-trusted-public-keys = [
"hackage-server.cachix.org-1:iw0iRh6+gsFIrxROFaAt5gKNgIHejKjIfyRdbpPYevY="
];
allow-import-from-derivation = "true";
};
}