-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathflake.nix
More file actions
26 lines (24 loc) · 741 Bytes
/
Copy pathflake.nix
File metadata and controls
26 lines (24 loc) · 741 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
{
description = "Quarry Protocol development environment.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
saber-overlay.url = "github:saber-hq/saber-overlay";
saber-overlay.inputs.nixpkgs.follows = "nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, saber-overlay, flake-utils }:
flake-utils.lib.eachSystem [
"aarch64-darwin"
"x86_64-linux"
"x86_64-darwin"
] (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ saber-overlay.overlay ];
};
in {
devShell = import ./shell.nix { inherit pkgs; };
packages.ci = import ./ci.nix { inherit pkgs; };
});
}