Commit graph

12 commits

Author SHA1 Message Date
Jörg Thalheim
cf42f710c1 expose flake interface that does not rely on overlays
As creator of small tools, my flakes might often end up in other peoples
projects. Overlays are a performance problem in those use cases because
I would kept re-instantiating nixpkgs instances. Of course I could also
expose my stuff as overlays as well.

In that case I would need to merge downstream dependencies like
go2modnix as well, which would polute their nixpkgs instance with
unrelated stuff and also make it harder for my users to tell what random
attributes came from which place.
2023-09-13 08:24:13 +02: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
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
d30b3ca30a templates: Add a flake template 2022-05-30 19:17:02 +08:00
adisbladis
f7074712e8 flake.nix: Update to latest flake schema 2022-05-26 18:31:19 +08:00
adisbladis
c9d91f60a7 flake.nix: Use development shell from shell.nix 2022-05-26 18:29:48 +08:00
adisbladis
d1df21fc5a flake.nix: Use overlay from separate overlay.nix expression 2022-05-26 18:17:02 +08:00
GTrunSec
0333f00e5f
Fix: flake overlay 2021-03-16 16:08:52 -07:00
adisbladis
929d740884
Format with nixpkgs-fmt 2020-12-03 16:23:40 +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