nicer MSYS2 development shell
This commit is contained in:
parent
f11a0776e7
commit
6d9b3abcd7
@ -126,11 +126,15 @@
|
||||
cargo-insta
|
||||
clippy
|
||||
rustfmt
|
||||
# MSYS2
|
||||
];
|
||||
};
|
||||
devShells.x86_64-linux.msys2 = pkgs.mkShell {
|
||||
name = "nac3-dev-shell";
|
||||
buildInputs = with pkgs; [
|
||||
curl
|
||||
pacman
|
||||
fakeroot
|
||||
wineWowPackages.stable
|
||||
packages.x86_64-w64-mingw32.wine-msys2
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -98,4 +98,10 @@ in rec {
|
||||
'';
|
||||
dontFixup = true;
|
||||
};
|
||||
wine-msys2 = pkgs.writeShellScriptBin "wine-msys2"
|
||||
''
|
||||
export WINEDEBUG=-all
|
||||
export WINEPATH=Z:${msys2-env}/mingw64/bin\;Z:${llvm-nac3}/bin
|
||||
${pkgs.wineWowPackages.stable}/bin/wine64 cmd
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user