use nix build & meson & zlog

This commit is contained in:
Rongsong Shen 2025-11-03 18:19:59 +08:00
parent 0123623742
commit 346768a144
60 changed files with 13739 additions and 0 deletions

37
src/default.nix Normal file
View file

@ -0,0 +1,37 @@
{
pkgs,
myCommitId,
...
}:
let
xce = pkgs.callPackage ./xce.nix {
inherit pkgs myCommitId;
withDebug = false;
withAsan = false;
withoutDb = false;
};
xce_withoutdb = pkgs.callPackage ./xce.nix {
inherit pkgs myCommitId;
withDebug = false;
withAsan = false;
withoutDb = true;
};
xce_withoutdb_debug = pkgs.callPackage ./xce.nix {
inherit pkgs myCommitId;
withDebug = true;
withAsan = true;
withoutDb = true;
};
xce_debug = pkgs.callPackage ./xce.nix {
inherit pkgs myCommitId;
withDebug = true;
withAsan = true;
withoutDb = false;
};
in
{
xce = xce;
xce_debug = xce_debug;
xce_withoutdb = xce_withoutdb;
xce_withoutdb_debug = xce_withoutdb_debug;
}