2019-03-05 03:43:53 +03:00
|
|
|
let
|
|
|
|
|
|
|
|
pkgs = import ./nixpkgs.nix;
|
|
|
|
tlon = import ./pkgs { pkgs=pkgs; };
|
|
|
|
deps = import ./deps { pkgs=pkgs; };
|
|
|
|
|
|
|
|
tools =
|
|
|
|
with pkgs;
|
|
|
|
[ cargo rustc meson ninja pkgconfig libtool gdb ];
|
|
|
|
|
|
|
|
libs =
|
|
|
|
with pkgs;
|
2020-06-12 06:31:26 +03:00
|
|
|
[ openssl curl gmp scrypt libsigsegv openssl zlib lmdb ];
|
2019-03-05 03:43:53 +03:00
|
|
|
|
|
|
|
osx =
|
|
|
|
with pkgs;
|
|
|
|
lib.optionals stdenv.isDarwin (
|
|
|
|
with darwin.apple_sdk.frameworks;
|
|
|
|
[ Cocoa CoreServices ]);
|
|
|
|
|
|
|
|
vendor =
|
|
|
|
with deps;
|
2020-07-28 05:19:17 +03:00
|
|
|
[ argon2 ed25519 h2o murmur3 scrypt secp256k1 softfloat3 uv ent ge-additions urcrypt ivory-header ca-header ];
|
2019-03-05 03:43:53 +03:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "urbit-deps-env";
|
|
|
|
env = pkgs.buildEnv { name = name; paths = buildInputs; };
|
|
|
|
buildInputs = tools ++ libs ++ osx ++ vendor;
|
|
|
|
}
|