init: basic foundation

This commit is contained in:
Xory 2025-11-12 21:06:45 +02:00
commit df22b0bd5e
10 changed files with 231 additions and 0 deletions

14
shell.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
buildInputs = [
pkgsCross.mingwW64.buildPackages.gcc
pkgsCross.mingwW64.buildPackages.glibc
rustup
libpthread-stubs
pkg-config
openssl
];
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUSTFLAGS = "-L native=${pkgs.pkgsCross.mingwW64.windows.pthreads}/lib";
}