devenv: create files

This commit is contained in:
2026-10-09 12:13:14 -04:00
parent 0bbacadce4
commit 108e7f155a
4 changed files with 147 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
{
pkgs,
config,
...
}:
let
win = pkgs.pkgsCross.mingwW64;
win32 = pkgs.pkgsCross.mingw32;
in
{
packages = with pkgs; [
win.stdenv.cc
win32.stdenv.cc
wineWow64Packages.full
gcc
clang
clang-tools
cmake
gdb
git
jq
ripgrep
curl
wget
coreutils
findutils
less
pkg-config
tree
unzip
];
languages = {
rust.enable = true;
c.enable = true;
cplusplus.enable = true;
java.enable = true;
python = {
enable = true;
venv.enable = true;
};
};
env = {
WINEPREFIX = "${config.env.DEVENV_ROOT}/wineprefix";
};
enterShell = ''
wineboot
if [[ ! -e ./workspaces ]]; then
mkdir ./workspaces
fi
'';
}