forked from wireapp/wire-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack-deps.nix
More file actions
34 lines (32 loc) · 733 Bytes
/
stack-deps.nix
File metadata and controls
34 lines (32 loc) · 733 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
# FUTUREWORK: remove this file when we drop stack support
let
pkgs = (import ./nix).pkgs;
native_libs = pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
Cocoa
CoreServices
]);
in
pkgs.haskell.lib.buildStackProject {
name = "wire-server";
nativeBuildInputs = native_libs;
buildInputs = with pkgs; [
cryptobox
geoip
git
icu
libsodium
libxml2
ncurses
openssl
pkgconfig
protobuf
pcre
snappy
zlib
lzma
];
ghc = pkgs.haskell.compiler.ghc8107;
# This is required as the environment variables exported before running stack
# do not make it into the shell in which stack runs test.
HSPEC_OPTIONS = "--fail-on-focused";
}