make blokus in rust

This commit is contained in:
Noa Aarts 2025-12-05 15:10:02 +01:00
parent 98f161c620
commit eca2b4acb8
Signed by: noa
GPG key ID: 1850932741EFF672
11 changed files with 706 additions and 156 deletions

View file

@ -2,10 +2,11 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
fix-py.url = "github:GuillaumeDesforges/fix-python";
};
outputs =
{ nixpkgs, ... }:
{ nixpkgs, fix-py, ... }:
let
eachSystem =
f:
@ -15,10 +16,10 @@
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
buildInputs = [
(pkgs.python3.withPackages (ppkgs: [
ppkgs.numpy
ppkgs.torch
]))
pkgs.cargo
pkgs.rustc
pkgs.stdenv.cc.cc.lib
fix-py.packages.${pkgs.system}.default
];
};
});