-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (25 loc) · 847 Bytes
/
flake.nix
File metadata and controls
30 lines (25 loc) · 847 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
{
description = "Template for Holochain app development";
inputs = {
holonix.url = "github:holochain/holonix/main-0.5";
nixpkgs.follows = "holonix/nixpkgs";
flake-parts.follows = "holonix/flake-parts";
tauri-plugin-holochain.url = "github:darksoil-studio/tauri-plugin-holochain/main-0.5";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = builtins.attrNames inputs.holonix.devShells;
perSystem = { inputs', config, pkgs, system, ... }: {
devShells.default = pkgs.mkShell {
inputsFrom = [
inputs'.tauri-plugin-holochain.devShells.holochainTauriAndroidDev
inputs'.holonix.devShells.default
];
packages = [
pkgs.cargo-ndk
pkgs.pnpm
];
};
};
};
}