xo-arena: + nix build

This commit is contained in:
Roland Conybeare 2026-02-25 17:08:14 +11:00
commit 6a57bf398f

28
pkgs/xo-arena.nix Normal file
View file

@ -0,0 +1,28 @@
{
# nixpkgs dependencies
stdenv, cmake, catch2,
# xo dependencies
xo-cmake,
# xo-refcnt,
xo-reflectutil,
xo-indentlog,
} :
stdenv.mkDerivation (finalattrs:
{
name = "xo-arena";
src = ../xo-arena;
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
doCheck = true;
nativeBuildInputs = [
cmake catch2 xo-cmake
];
propagatedBuildInputs = [
# xo-refcnt
xo-reflectutil
xo-indentlog
];
})