Commit graph

6 commits

Author SHA1 Message Date
Niklas Halonen
1ddc17bc50
Fix symlink builder to recursively walk the vendor directory
Fixes https://github.com/nix-community/gomod2nix/issues/20
2023-08-16 22:27:34 +03:00
adisbladis
9b360feaf2 builder/symlink: Factor out into separate functions to make indents more readable
Implement suggestion from https://github.com/NixOS/nixpkgs/pull/188272#discussion_r958608686.
2022-09-02 15:59:32 +12:00
adisbladis
fc2d392494 Remove usage of deprecated ioutil package 2022-09-02 15:59:32 +12:00
adisbladis
4141b461c4 builder/symlink.go: Remove commented code 2022-08-24 09:51:55 +08:00
adisbladis
509b97c288 Build non-development packages in the same way as development packages
The difference in behaviour was unfortunate.

The only downside I can see is that this doesn't allow for mixed
origins in the same package, which probably shouldn't be done anyway.
2022-06-14 08:19:42 +08:00
adisbladis
908ab2bb87 Precompile internal packages instead of using go run
It shaves off a second or so of wait time per environment.
2022-06-13 20:37:42 +08:00