VoidLoader/VoidLoaderCore/pipeline/head There was a failure building this commit
Signed-off-by: Faumaray <faumaray@gmail.com>
41 lines
757 B
Nix
41 lines
757 B
Nix
{
|
|
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
|
|
jdk
|
|
cmake
|
|
clang-tools
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
];
|
|
|
|
shellHook = '''';
|
|
};
|
|
}
|
|
);
|
|
}
|