urbit/nix/pkgs/default.nix
benjamin-tlon 3c3f7e761e
Misc cleanup blocking CC-Release. (#1249)
* Move extraneous stuff out of pkg/urbit/*
* s/urb/herb/g
* Removed some boilerplate for `urbit` builds.
* Build urbit tests and run them in the nix build.
2019-04-24 17:27:27 -07:00

24 lines
556 B
Nix

{ pkgs ? import ../nixpkgs.nix }:
let
deps = import ../deps { inherit pkgs; };
ent = import ./ent { inherit pkgs; };
arvo = import ./arvo { inherit pkgs; };
herb = import ../../pkg/herb { inherit pkgs; };
mkUrbit = { debug }:
import ./urbit {
inherit pkgs ent debug;
inherit (deps) argon2 murmur3 uv ed25519 sni scrypt softfloat3;
inherit (deps) secp256k1 h2o;
};
urbit = mkUrbit { debug=false; };
urbit-debug = mkUrbit { debug=true; };
in
{ inherit ent arvo herb urbit urbit-debug; }