Compare commits

...

2 Commits

Author SHA1 Message Date
a84d2d8d90 utils: replace qemu_test with qemu
qemu_test lacks support for QXL VGA
2021-06-30 23:07:40 +02:00
520898c1db bundle: fix for newer go version 2021-06-30 21:36:25 +02:00
3 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,10 @@
{ pkgs }:
pkgs.runCommandNoCC "win-bundle-installer.exe" {} ''
mkdir bundle
cd bundle
cp ${./go.mod} go.mod
cp ${./main.go} main.go
env HOME=$(mktemp -d) GOOS=windows GOARCH=amd64 ${pkgs.go}/bin/go build
mv build.exe $out
mv bundle.exe $out
''

3
wfvm/bundle/go.mod Normal file
View File

@ -0,0 +1,3 @@
module bundle
go 1.11

View File

@ -2,7 +2,7 @@
rec {
# qemu_test is a smaller closure only building for a single system arch
qemu = pkgs.qemu_test;
qemu = pkgs.qemu;
mkQemuFlags = extraFlags: [
"-enable-kvm"