mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 15:44:03 +03:00
2bef1a30da
This stores the ship's identity information in a separate META table in the lmdb datastore.
32 lines
717 B
Nix
32 lines
717 B
Nix
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;
|
|
[ openssl zlib curl gmp scrypt libsigsegv ncurses openssl zlib lmdb ];
|
|
|
|
osx =
|
|
with pkgs;
|
|
lib.optionals stdenv.isDarwin (
|
|
with darwin.apple_sdk.frameworks;
|
|
[ Cocoa CoreServices ]);
|
|
|
|
vendor =
|
|
with deps;
|
|
[ argon2 ed25519 h2o murmur3 scrypt secp256k1 sni softfloat3 uv ent ];
|
|
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "urbit-deps-env";
|
|
env = pkgs.buildEnv { name = name; paths = buildInputs; };
|
|
buildInputs = tools ++ libs ++ osx ++ vendor;
|
|
}
|