go2nix
go2nix copied to clipboard
Reproducible builds and development environment for Go
I tried to generate the nix expression for [Hugo](https://github.com/gohugoio/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...
`fetchFromGitHub` should be used for all packages hosted on github. https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245297782
See https://github.com/zimbatm/nixpkgs/blob/8a1ebe98f3cbf2229db13d6cc6100c0a89753e42/pkgs/servers/nosql/influxdb/gdm2nix.rb
At this moment, it overwrites the default.nix in a directory. This might not be what users expect. I've been bitten by this twice :)
At this moment, all VC's are imported in the default.nix. It would be nicer to only import the VCS that is actually used.
When packaging Siad (https://github.com/NebulousLabs/Sia) I'm getting missing dependencies when I nix-build the result. - default.nix: https://github.com/NixOS/nixpkgs/compare/master...grahamc:sia?expand=1#diff-2ca016fb77cf0742c3396dc243dd0c6cR1 (modified to add `subPackages = [ "siad" ];`) - deps.nix: https://github.com/NixOS/nixpkgs/compare/master...grahamc:sia?expand=1#diff-5549d2234c56be4ae44c96a69f071d87R1 - how I...
I tried the go2nix packaged in the current `unstable` nixpkgs channel. It did not terminate, and `strace`ing the invocation showed that it tried to run `nix-prefetch-get`, which is not in...
For [gb](https://getgb.io/) projects, we should be able to produce `deps.nix` directly from the manifest, right? A question, though: How do you express in `deps.nix` packages that aren't based in a...