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

Open
opened 3 months ago by jonge · 2 comments
jonge commented 3 months ago

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 3 months ago
Poster

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

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.