add forgejo action

This commit is contained in:
🪞👃🪞 2025-03-10 15:04:44 +02:00
parent 23adab3804
commit 70984b4992
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{pkgs?import<nixpkgs>{}}:let
stdenv = pkgs.clang19Stdenv;
name = "tengri";
nativeBuildInputs = with pkgs; [ grcov time rustup cloc just pkg-config libclang ];
buildInputs = with pkgs; [ libclang ];
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; []);
in pkgs.mkShell.override {
inherit stdenv;
} {
inherit name nativeBuildInputs buildInputs LIBCLANG_PATH LD_LIBRARY_PATH;
}