nix: add radicle-full
To allow Nix users to install radicle with all tools and helpers.
This commit is contained in:
parent
e1affc2da6
commit
64fd41961e
12
flake.nix
12
flake.nix
|
|
@ -164,6 +164,13 @@
|
|||
|
||||
packages = {
|
||||
default = radicle;
|
||||
radicle-full = pkgs.buildEnv {
|
||||
name = "radicle-full";
|
||||
paths = with self.packages.${system}; [
|
||||
default
|
||||
radicle-httpd
|
||||
];
|
||||
};
|
||||
radicle-remote-helper = craneLib.buildPackage (commonArgs
|
||||
// {
|
||||
inherit (craneLib.crateNameFromCargoToml {cargoToml = ./radicle-remote-helper/Cargo.toml;});
|
||||
|
|
@ -198,6 +205,11 @@
|
|||
drv = radicle;
|
||||
};
|
||||
|
||||
apps.radicle-full = flake-utils.lib.mkApp {
|
||||
name = "rad";
|
||||
drv = self.packages.${system}.radicle-full;
|
||||
};
|
||||
|
||||
apps.rad = flake-utils.lib.mkApp {
|
||||
name = "rad";
|
||||
drv = self.packages.${system}.radicle-cli;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,14 @@ logfmt = [
|
|||
"tracing-subscriber/env-filter"
|
||||
]
|
||||
|
||||
[[bin]]
|
||||
name = "radicle-httpd"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rad-web"
|
||||
path = "src/bin/rad-web.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1" }
|
||||
axum = { version = "0.7.2", default-features = false, features = ["json", "query", "tokio", "http1"] }
|
||||
|
|
|
|||
Loading…
Reference in New Issue