Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
go: do not replace path to zoneinfo.zip and mime.types #75013
Prepend the nix path to the zoneinfo.zip file and keep the original alternatives
Motivation for this change
Allow Go programs built using nix to run on servers that don't have nix
I am very new to nix and could not figure out how to test this branch locally, reading
I don't know what to replace this like with:
The same thing is happening with the mime types. I suggest fixing that as well if we want full support outside of Nix.
I'll wait for the second fix before merging to avoid rebuilding twice.
@kalbasit great idea, I added a new commit. I tried to test this locally by running
(at the root of this repo)
but I get this error:
I'm on Fedora 30 5.3.14-200.fc30.x86_64
it works locally for me. Can you please fix the commit, it should
Once that's done, I'll submit it for build by ofborg and test locally on Linux/Mac.