-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
35 lines (32 loc) · 1.07 KB
/
flake.nix
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
35
{
inputs = {
nh-nix-env.url = "github:neighbour-hoods/nh-nix-env";
social_sensemaker.url = "github:neighbour-hoods/social_sensemaker";
};
outputs = { nh-nix-env, social_sensemaker, ... }:
let
flake-utils = nh-nix-env.metavalues.flake-utils;
nh-supported-systems = nh-nix-env.metavalues.nh-supported-systems;
rustVersion = nh-nix-env.metavalues.rustVersion;
naersk = nh-nix-env.metavalues.naersk;
wasmTarget = nh-nix-env.metavalues.wasmTarget;
holonixMain = nh-nix-env.metavalues.holonixMain;
in
flake-utils.lib.eachSystem nh-supported-systems (system:
let
pkgs = nh-nix-env.values.${system}.pkgs;
in
{
devShell = nh-nix-env.shells.${system}.holochainDevShell {
extraBuildInputs = with pkgs; [
nodejs
nodePackages.webpack
nodePackages.webpack-cli
openssl
pkgconfig
wasm-pack
];
};
packages.social_sensemaker = social_sensemaker.packages.${system}.social_sensemaker-naersk;
});
}