on e94de40 help sign in
haskell.nix/lib/system-nixpkgs-map.nix
99 lines 3.2 kB history raw
1# Maps of system pkg references from
2# cabal file to nixpkgs pkgs.
3# See ../docs/dev/pkg-map.md
4pkgs:
5# fetchgit should always come from the buildPackages
6# if it comes from the targetPackages we won't even
7# be able to execute it.
8 { fetchgit = pkgs.buildPackages.fetchgit; }
9# haskell lib -> nix lib mapping
10# -- linux
11// { crypto = pkgs.openssl;
12 "c++" = null; # no libc++
13 "stdc++" = null; "stdc++-6" = null;
14 ssl = pkgs.openssl;
15 z = pkgs.zlib;
16 pthread = null; # available by default
17 GL = pkgs.libGL;
18 GLU = pkgs.libGLU;
19 alut = pkgs.freealut;
20 X11 = pkgs.xorg.libX11;
21 Xrandr = pkgs.xorg.libXrandr;
22 Xext = pkgs.xorg.libXext;
23 Xi = pkgs.xorg.libXi;
24 Xxf86vm = pkgs.xorg.libXxf86vm;
25 Xcursor = pkgs.xorg.libXcursor;
26 Xinerama = pkgs.xorg.libXinerama;
27 mysqlclient = pkgs.mysql;
28 Imlib2 = pkgs.imlib2;
29 asound = pkgs.alsaLib;
30 ffi = null;
31 bz2 = pkgs.bzip2;
32 util = pkgs.utillinux;
33 magic = pkgs.file;
34 pq = pkgs.postgresql;
35 iconv = pkgs.libiconv;
36 lapack = pkgs.liblapack;
37 boost_atomic = pkgs.boost;
38 boost_chrono = pkgs.boost;
39 boost_container = pkgs.boost;
40 boost_context = pkgs.boost;
41 boost_contract = pkgs.boost;
42 boost_coroutine = pkgs.boost;
43 boost_date_time = pkgs.boost;
44 boost_fiber = pkgs.boost;
45 boost_filesystem = pkgs.boost;
46 boost_graph = pkgs.boost;
47 boost_iostreams = pkgs.boost;
48 boost_locale = pkgs.boost;
49 boost_log_setup = pkgs.boost;
50 boost_log = pkgs.boost;
51 boost_math_c99f = pkgs.boost;
52 boost_math_c99l = pkgs.boost;
53 boost_math_c99 = pkgs.boost;
54 boost_math_tr1f = pkgs.boost;
55 boost_math_tr1l = pkgs.boost;
56 boost_math_tr1 = pkgs.boost;
57 boost_prg_exec_monitor = pkgs.boost;
58 boost_program_options = pkgs.boost;
59 boost_random = pkgs.boost;
60 boost_regex = pkgs.boost;
61 boost_serialization = pkgs.boost;
62 boost_signals = pkgs.boost;
63 boost_stacktrace_addr2line = pkgs.boost;
64 boost_stacktrace_basic = pkgs.boost;
65 boost_stacktrace_noop = pkgs.boost;
66 boost_system = pkgs.boost;
67 boost_thread = pkgs.boost;
68 boost_timer = pkgs.boost;
69 boost_type_erasure = pkgs.boost;
70 boost_unit_test_framework = pkgs.boost;
71 boost_wave = pkgs.boost;
72 boost_wserialization = pkgs.boost;
73 tensorflow = pkgs.libtensorflow;
74 opencv = pkgs.opencv3;
75 icuuc = pkgs.icu;
76 icui18n = pkgs.icu;
77 icudata = pkgs.icu;
78 vulkan = pkgs.vulkan-loader;
79 sodium = pkgs.libsodium;
80 gfortran = pkgs.gfortran.cc.lib;
81 }
82# -- windows
83// { advapi32 = null; gdi32 = null; imm32 = null; msimg32 = null;
84 shell32 = null; shfolder = null; shlwapi = null; user32 = null;
85 winmm = null; userenv = null;
86 kernel32 = null; ws2_32 = null;
87 # this should be bundled with gcc.
88 # if it's not we have more severe
89 # issues anyway.
90 gcc_s_seh-1 = null;
91 ssl32 = null; eay32 = pkgs.openssl;
92 iphlpapi = null; # IP Help API
93 msvcrt = null; # this is the libc
94 Crypt32 = null;
95 mswsock = null;
96 }
97# -- os x
98# NB: these map almost 1:1 to the framework names
99// pkgs.darwin.apple_sdk.frameworks