-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
31 lines (29 loc) · 811 Bytes
/
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
{
description = "Threema Gateway Ex";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs { inherit system; };
erlang = pkgs.beam.interpreters.erlangR26;
in {
devShells.default =
pkgs.mkShell {
env = {
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.libsodium erlang ];
};
buildInputs = [
pkgs.libsodium
pkgs.libtool
pkgs.autoconf
pkgs.automake
pkgs.pkg-config
erlang
pkgs.beam.packages.erlangR26.rebar
pkgs.beam.packages.erlangR26.elixir_1_15
];
};
});
}