forked from GeekGene/mewsfeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
25 lines (23 loc) · 775 Bytes
/
flake.nix
File metadata and controls
25 lines (23 loc) · 775 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
{
inputs = {
holonix.url = "github:holochain/holochain";
holonix.inputs.versions.url = "github:holochain/holochain?dir=versions/0_1";
nixpkgs.follows = "holonix/nixpkgs";
};
outputs = inputs@{ holonix, ... }:
holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } {
# provide a dev shell for all systems that the holonix flake supports
systems = builtins.attrNames holonix.devShells;
perSystem = { config, system, pkgs, ... }:
{
devShells.default = pkgs.mkShell {
inputsFrom = [ holonix.devShells.${system}.holonix ];
packages = with pkgs; [
# add further packages from nixpkgs
cargo-watch
nodejs
];
};
};
};
}