Adding more cargo make targets to nix
This commit is contained in:
parent
5fe4450f39
commit
28dd9f5138
20
flake.nix
20
flake.nix
@ -128,6 +128,20 @@
|
||||
pname = "sparse-c2-beacon";
|
||||
cargoExtraArgs = "-p sparse-c2-beacon --locked";
|
||||
});
|
||||
|
||||
sparse-c2-server = craneLib.buildPackage (commonArgs // {
|
||||
inherit artifacts;
|
||||
|
||||
pname = "sparse-c2-server";
|
||||
cargoExtraArgs = "-p sparse-c2-server --locked";
|
||||
});
|
||||
|
||||
sparse-c2-client = craneLib.buildPackage (commonArgs // {
|
||||
inherit artifacts;
|
||||
|
||||
pname = "sparse-c2-client";
|
||||
cargoExtraArgs = "-p sparse-c2-client --locked";
|
||||
});
|
||||
in with pkgs; {
|
||||
devShells.default = craneLib.devShell {
|
||||
name = "sparse";
|
||||
@ -140,10 +154,10 @@
|
||||
};
|
||||
|
||||
packages = {
|
||||
inherit sparse-05-linux-server sparse-05-windows-server;
|
||||
inherit sparse-05-client;
|
||||
inherit sparse-05-linux-server sparse-05-windows-server
|
||||
sparse-05-client;
|
||||
|
||||
inherit sparse-c2-linux-beacon;
|
||||
inherit sparse-c2-linux-beacon sparse-c2-server sparse-c2-client;
|
||||
|
||||
default = sparse-05-client;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user