mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
3c3f7e761e
* 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.
24 lines
556 B
Nix
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; }
|