256lights / zb

An experiment in hermetic, reproducible build systems
MIT License
184 stars 3 forks source link

Fix zb failing to build on windows due to misconfigured package name #42

Closed Rucadi closed 23 hours ago

Rucadi commented 1 day ago

I was getting an error while trying to compile zb on windows, it seems like this package was misconfigured.

Without this patch, go wasn't able to compile the project for windows returning this error:

go build
derivation.go:17:2: found packages frontend (derivation_eval.go) and zb (path_eval_windows.go) in C:\zb\internal\frontend

After changing this, I was able to generate the .exe for zb

zombiezen commented 23 hours ago

lol, that would do it. Thank you!