You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
I tried to generate the nix expression for Hugo without success. I ran
nix-env -p go git go2nix
mkdir hugobuild
cd hugobuild
export GOPATH=`pwd`
go get -v github.com/gohugoio/hugo
cd src/github.com/gohugoio/hugo
go2nix save
However, I dont't think that all of the dependencies are listed in deps.nix. It seems like the dependencies might be stored in vendor/vendor.json, but I'm not familiar with go at all. How do I generate the nix expressions for Hugo?
The text was updated successfully, but these errors were encountered:
I noticed that the unstable channel had an updated version of hugo. I wasn't able to generate the nix expressions, although I didn't try very hard. If I come across another similar go package I need to package, I will try again.
As an aside, it would be great if you could document how to package go apps to users unfamiliar with go. The example with writing your own code is a bit confusing. If I understood correctly, you can generate nix expressions for packages by running go get and go2nix save in the downloaded src directory.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to generate the nix expression for Hugo without success. I ran
However, I dont't think that all of the dependencies are listed in
deps.nix
. It seems like the dependencies might be stored in vendor/vendor.json, but I'm not familiar with go at all. How do I generate the nix expressions for Hugo?The text was updated successfully, but these errors were encountered: