Commit graph

8 commits

Author SHA1 Message Date
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
Sarah Brofeldt
c3f52f3d79 overlay: fallback to default callPackage for stable nixpkgs 2022-08-31 09:55:27 +02: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
HuangYi
50385ada23
requires a newer Apple SDK on macOS 2022-07-21 09:40:17 +08:00
adisbladis
a4bed25a86 Add mkGoEnv function
This creates an `mkGoEnv` function which takes care of adding the
correct Go package to your development environment and installs
development dependencies from tools.go in a Nix derivation.

The "normal" workflow around Go with tools.go just sticks development
dependencies in $GOBIN which isn't ideal since you have no separation
between projects.
2022-06-13 20:37:42 +08:00
adisbladis
d1df21fc5a flake.nix: Use overlay from separate overlay.nix expression 2022-05-26 18:17:02 +08: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