mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 19:20:44 +01:00
31 lines
592 B
Nix
31 lines
592 B
Nix
{
|
|
description = "Rust project template";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
import-tree.url = "github:vic/import-tree";
|
|
};
|
|
|
|
outputs =
|
|
inputs:
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
|
|
{ ... }:
|
|
{
|
|
_module.args.metadata = fromTOML (builtins.readFile ./Cargo.toml);
|
|
|
|
systems = [
|
|
"x86_64-linux"
|
|
#"aarch64-darwin"
|
|
];
|
|
|
|
imports = [
|
|
(inputs.import-tree ./nix)
|
|
];
|
|
}
|
|
);
|
|
}
|