feat: nixos dev support
This commit is contained in:
parent
5174a3cbba
commit
dc61ea5a92
3 changed files with 32 additions and 1 deletions
14
shell.nix
Normal file
14
shell.nix
Normal 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";
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue