Commit graph

26 commits

Author SHA1 Message Date
adisbladis
f09d652b95 Suffix $PATH in wrapper instead of prefixing
As suffixing makes gomod2nix inherit any system Go compiler.
2022-09-02 21:11:33 +12:00
adisbladis
4ff40e56c2 root expression: Use pwd argument to parse go.mod
This will ensure that the Go version selector picks the very latest compatible compiler version.
2022-09-02 20:10:43 +12:00
adisbladis
8525f7f0e5 Remove generic builder expression
This was an attempt to get maximal sharing with Nixpkgs but in hindsight it's better to just have some code duplication.
2022-09-02 16:14:39 +12:00
adisbladis
6622c8aee4 Bump version to 1.4.0 2022-08-25 20:21:38 +12:00
adisbladis
1e03e4a757 Bump version to 1.3.0 2022-08-24 15:05:04 +08:00
adisbladis
02243eca0b Bump version to 1.2.0 2022-08-24 12:05:27 +08:00
adisbladis
5d07a6931c Bump version to 1.1.0 2022-08-24 10:22:09 +08:00
adisbladis
4a59ba5a69 Refactor to generic builder expression
This will make nixpkgs dumps (ie dumping gomod2nix into nixpkgs) easier going forward.
2022-08-23 22:48:09 +08:00
adisbladis
338342f107 Bump version to 1.0.0 2022-08-23 21:30:33 +08:00
adisbladis
6b1386b0ba Set version to 1.0.0-rc1 2022-06-14 20:58:13 +08:00
adisbladis
f8646af3f2 gomod2nix: Only generate completions if we are not cross compiling 2022-06-14 05:27:43 +08:00
adisbladis
7224069881 Set meta on derivation 2022-06-13 23:33:28 +08:00
adisbladis
363017e3f3 Install shell completions in derivation 2022-06-13 23:33:19 +08:00
adisbladis
d30b3ca30a templates: Add a flake template 2022-05-30 19:17:02 +08:00
adisbladis
ce3a6771f0 gomod2nix: Filter builder expressions from cli build 2022-05-30 18:33:40 +08:00
yihuang
9a26cc68c0 Lower the prerequisite of gomod2nix
`go_1_18` is only available in nixpkgs master, but `go_1_17` is available in stable `release-21.11`.
2022-05-30 16:40:20 +08:00
adisbladis
5c1f8f8467 Use Go 1.18 for testing 2022-05-29 16:24:58 +08:00
adisbladis
33b65aa13e root: Use new format for building self 2022-05-28 22:56:52 +08:00
adisbladis
06cfdc3c54
default.nix: Filter tests 2021-01-12 17:55:00 +01:00
adisbladis
bb2553fa3e
Expose gomod2nix package in the overlay 2020-12-03 16:23:39 +01:00
adisbladis
9f972211c7
Add flake.nix to root 2020-12-03 16:23:39 +01:00
adisbladis
6ea9066253
Remove builder from output 2020-10-29 13:26:18 +01:00
adisbladis
64b60b5a15
Build gomod2nix with itself 2020-10-29 13:26:18 +01:00
adisbladis
956903170b
Split builder into its own directory 2020-10-29 13:26:17 +01:00
adisbladis
2034c858bd
Create in-sandbox builder for env 2020-10-29 13:26:17 +01:00
adisbladis
869ea9a6b2
Add an initial Go builder 2020-10-29 13:26:17 +01:00