win-bundle-isntaller.exe.drv doesn't find go.mod #13

Open
opened 2021-08-20 17:41:12 +08:00 by jonge · 2 comments

Hi there,

i just quickly wanted to build a new windows VM and ran into this problem here with the latest checkout:

building '/nix/store/n1k2rih9d1lj7dkzchrgdjd6q8p6fd55-win-bundle-installer.exe.drv'...
go: go.mod file not found in current directory or any parent directory; see 'go help modules

I tried different nixpkgs (21.05 and master of today) and it doesn't work for both.
Is that anything that MS changed or something else?

Hi there, i just quickly wanted to build a new windows VM and ran into this problem here with the latest checkout: ``` building '/nix/store/n1k2rih9d1lj7dkzchrgdjd6q8p6fd55-win-bundle-installer.exe.drv'... go: go.mod file not found in current directory or any parent directory; see 'go help modules ``` I tried different nixpkgs (21.05 and master of today) and it doesn't work for both. Is that anything that MS changed or something else?
Owner

We only run it with this nixpkgs:
https://git.m-labs.hk/M-Labs/nix-scripts/src/branch/master/artiq-fast/wfvm.nix#L5

Looks like a nixpkgs incompatibility and not something from MS (the latter would show failed hashes in fixed-output derivations anyway). I built new VMs a few weeks ago and it still worked fine.

We only run it with this nixpkgs: https://git.m-labs.hk/M-Labs/nix-scripts/src/branch/master/artiq-fast/wfvm.nix#L5 Looks like a nixpkgs incompatibility and not something from MS (the latter would show failed hashes in fixed-output derivations anyway). I built new VMs a few weeks ago and it still worked fine.
jonge referenced this issue from a commit 2021-08-20 18:03:42 +08:00
Author

Thank you, with that commit it works well.

Still need to disable visual studio and stuff because that does not work for me, but i also don't need it.

Thank you, with that commit it works well. Still need to disable visual studio and stuff because that does not work for me, but i also don't need it.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/wfvm#13
No description provided.