1
0
Fork 0
nix-scripts/artiq-fast/wfvm/bundle/default.nix

8 lines
187 B
Nix
Raw Normal View History

2020-06-14 17:06:03 +08:00
{ pkgs }:
2020-06-11 16:22:35 +08:00
pkgs.runCommandNoCC "win-bundle-installer.exe" {} ''
cp ${./main.go} main.go
env HOME=$(mktemp -d) GOOS=windows GOARCH=amd64 ${pkgs.go}/bin/go build
mv build.exe $out
''