-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (29 loc) · 992 Bytes
/
flake.nix
File metadata and controls
34 lines (29 loc) · 992 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
28
29
30
31
32
33
34
{
description = "Template for Holochain app development";
inputs = {
p2p-shipyard.url = "github:darksoil-studio/tauri-plugin-holochain/main-0.6.1";
p2p-shipyard.inputs.holonix.follows = "holonix";
holonix.url = "github:holochain/holonix/main-0.6";
nixpkgs.follows = "holonix/nixpkgs";
};
outputs = inputs @ { ... }:
inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; }
{
systems = builtins.attrNames inputs.holonix.devShells;
perSystem =
{ inputs', pkgs, system, ...}: {
devShells.default = pkgs.mkShell {
inputsFrom = [
inputs'.holonix.devShells.default
inputs'.p2p-shipyard.devShells.holochainTauriDev
];
};
devShells.androidDev = pkgs.mkShell {
inputsFrom = [
inputs'.p2p-shipyard.devShells.holochainTauriAndroidDev
inputs'.holonix.devShells.default
];
};
};
};
}