mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
add ci
This commit is contained in:
parent
a0f1577744
commit
f9334e32d5
2 changed files with 27 additions and 0 deletions
12
.forgejo/workflows/build.nix
Normal file
12
.forgejo/workflows/build.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue