Files
proxy-suite-flake/windows/flake.nix
T
faumarayandClaude Opus 5.5 e84d42a10c windows: 0.1.0-pre.1: README, install.cmd, release packaging
- README for the Windows port: what this release does, what has been
  verified and how, install, first run, who may change what, caveats.
- install.cmd / uninstall.cmd ask for administrator rights and run the
  service's own install/uninstall.
- tools/package.sh builds the release zip with every component staged
  and pinned; tools/wine-install-test.sh exercises install, the pipe and
  uninstall under Wine's Service Control Manager.
- Release profile: thin LTO, stripped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:41:53 +03:00

66 lines
1.5 KiB
Nix

{
description = "Proxy Suite for Windows: development shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ nixpkgs, ... }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAll = nixpkgs.lib.genAttrs systems;
in
{
devShells = forAll (
system:
let
pkgs = import nixpkgs { inherit system; };
# GPUI also runs on Linux, so the GUI can be tried here before a Windows build.
guiLibs = with pkgs; [
libxkbcommon
wayland
vulkan-loader
libx11
libxcb
libxcursor
libxi
libxrandr
fontconfig
freetype
alsa-lib
];
in
{
default = pkgs.mkShell {
packages = with pkgs; [
rustup
pkg-config
cargo-xwin
clang
lld
llvm
pkgsCross.mingwW64.stdenv.cc
# The backends, to check rendered configs and run the service on Linux.
sing-box
xray
python3
jq
zip
unzip
curl
git
python3Packages.pip
];
buildInputs = guiLibs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath guiLibs;
shellHook = ''
export PATH="$HOME/.cargo/bin:$PATH"
'';
};
}
);
};
}