Skip to content

Commit

Permalink
fix: nixpkg build
Browse files Browse the repository at this point in the history
  • Loading branch information
pk5ls20 committed Feb 21, 2025
1 parent 3f07c6a commit aef91d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,20 @@
strictDeps = true;
nativeBuildInputs = [
pkgs.protobuf
pkgs.libclang.lib
pkgs.llvmPackages.libcxxClang
pkgs.clang
];
doCheck = false;
meta = {
mainProgram = "mania";
homepage = "https://github.com/LagrangeDev/mania";
license = pkgs.lib.licenses.gpl3Only;
};
env = {
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
BINDGEN_EXTRA_CLANG_ARGS = "-isystem ${pkgs.llvmPackages.libcxxClang}/lib/clang/${pkgs.lib.getVersion pkgs.clang}/include";
};
};
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
typoCheck =
Expand Down

0 comments on commit aef91d0

Please sign in to comment.