Skip to content
/ go2nix Public
forked from kamilchm/go2nix

because Go and Nix are both amazing

License

Notifications You must be signed in to change notification settings

cmfwyp/go2nix

 
 

Repository files navigation

Circle CI

go2nix - because Go and Nix are both amazing

For Nixers - packaging Go applications

go2nix provides an autmatic way to create Nix derivations for Go applications.

  1. Start with app sources than can be built on your machine with go build. It means that you need to get all dependencies into current GOPATH.
  2. Run go2nix save in application source dir where main package lives. This will create 2 files default.nix and deps.nix that can be moved into its own directory under nixpkgs.

For Gophers - reproducible development and build environments

stay tuned

Installation

The preferred way of installing go2nix is to use nix like nix-env -i go2nix or using it declaratively.

But you can also use go get github.com/kamilchm/go2nix.

About

because Go and Nix are both amazing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 71.8%
  • Nix 17.7%
  • Shell 10.5%