gomod2nix/builder
adisbladis 442b4154e2
Add support for local replace directives
This fixes relative path modules not being correctly vendored by
parsing go.mod in Nix and vendoring them into the correct directory in
the Nix sandbox.

Ideally this should also come with a pluggable source filtering
mechanism and/or maybe use any present gitignore files like
poetry2nix does.

To use this new feature you have to pass a new `pwd` param to
`buildGoApplication` as such:
```
buildGoApplication {
  pname = "foo";
  version = "bar";
  pwd = ./.;
  src = lib.cleanSource ./.;
}
```

Fixes #2
2021-03-29 17:20:50 +02:00
..
default.nix Add support for local replace directives 2021-03-29 17:20:50 +02:00
parser.nix Add support for local replace directives 2021-03-29 17:20:50 +02:00
symlink.go Factor out builder call 2020-10-29 13:26:17 +01:00