mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: add meta to continuwuity build
This commit is contained in:
@@ -40,19 +40,24 @@
|
|||||||
cargoArtifacts = craneLib.buildDepsOnly common;
|
cargoArtifacts = craneLib.buildDepsOnly common;
|
||||||
|
|
||||||
rocksdb = pkgs.callPackage ./rocksdb.nix { };
|
rocksdb = pkgs.callPackage ./rocksdb.nix { };
|
||||||
|
in
|
||||||
continuwuity = craneLib.buildPackage (
|
{
|
||||||
|
default = craneLib.buildPackage (
|
||||||
lib.recursiveUpdate common {
|
lib.recursiveUpdate common {
|
||||||
inherit cargoArtifacts;
|
inherit cargoArtifacts;
|
||||||
env = {
|
env = {
|
||||||
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
|
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
|
||||||
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
|
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A community-driven Matrix homeserver in Rust";
|
||||||
|
mainProgram = "conduwuit";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = with lib.maintainers; [ quadradical ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
|
||||||
{
|
|
||||||
default = continuwuity;
|
|
||||||
inherit rocksdb;
|
inherit rocksdb;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user