feat: nixos dev support

This commit is contained in:
Xory 2025-12-20 13:49:52 +02:00
parent 5174a3cbba
commit dc61ea5a92
3 changed files with 32 additions and 1 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";
}