urbit/nix/pkgs/default.nix

37 lines
979 B
Nix
Raw Normal View History

2019-03-05 03:43:53 +03:00
{ pkgs ? import ../nixpkgs.nix }:
let
deps = import ../deps { inherit pkgs; };
ent = import ./ent { inherit pkgs; };
arvo = import ./arvo { inherit pkgs; };
arvo-ropsten = import ./arvo-ropsten { inherit pkgs; };
herb = import ../../pkg/herb { inherit pkgs; };
ge-additions = import ./ge-additions {
inherit pkgs;
inherit (deps) ed25519;
};
mkUrbit = { debug }:
import ./urbit {
inherit pkgs ent debug ge-additions;
inherit (deps) argon2 murmur3 uv ed25519 sni scrypt softfloat3;
inherit (deps) secp256k1 h2o ivory-header ca-header;
};
2019-03-05 03:43:53 +03:00
urbit = mkUrbit { debug = false; };
urbit-debug = mkUrbit { debug = true; };
urbit-large-log = pkgs.stdenv.lib.overrideDerivation urbit (_: {
patches = [ ./urbit/patches/large-log-limit.patch ];
patchFlags = "-p3";
});
in
2019-03-05 03:43:53 +03:00
{ inherit ent ge-additions arvo arvo-ropsten herb;
inherit urbit urbit-debug urbit-large-log;
}