example mod

Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2025-10-20 18:03:25 +03:00
1 parent 097443c2d7
commit 16a37b5c6d
9 files changed
+234

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
{
description = "Gradle C++ cross-compile (Linux → Windows/Mac)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
name = "CppShell";
nativeBuildInputs = with pkgs; [
gcc15Stdenv
gcc15
ninja
cmake
clang-tools
];
buildInputs = with pkgs; [
];
shellHook = '''';
};
}
);
}