1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
Commit graph

17 commits

Author SHA1 Message Date
bors[bot]
8bfe94414f
Merge #61
61: Add option for defining flake-parts modules for downstream flakes. r=roberth a=shlevy



Co-authored-by: Shea Levy <shea@shealevy.com>
2022-12-27 12:46:02 +00:00
Shea Levy
3c60ce7d7e
Add lib.defaultModule for extracting the default flakeModule 2022-12-25 06:30:50 -05:00
Shea Levy
f3c79bef3b
Add option for defining flake-parts modules for downstream flakes. 2022-12-25 06:30:44 -05:00
Robert Hensing
2cde01ee43 mkFlake: Set default module location
`outPath + "/flake.nix"` is technically an unfounded assumption,
except almost all calls will be made from flake.nix.
It surely is a lot better than `<unknown location>`.
2022-12-24 17:33:43 +01:00
Robert Hensing
bcb7065174 Fix infinite recursion in inputs 2022-12-17 18:42:26 +01:00
Robert Hensing
d8f05073ae Remove redundant lib.mdDoc 2022-11-11 07:41:10 +01:00
Shea Levy
8e6bca1b0a
Add mkTransposedPerSystemModule for simple per-system exposed attrs 2022-11-10 14:03:07 -05:00
Robert Hensing
3ee82a16d6 perSystem: functionTo -> deferredModule 2022-05-25 18:18:50 +02:00
Robert Hensing
3beb704537 flake-modules-core -> flake-parts 2022-05-25 16:38:27 +02:00
zimbatm
ad19f920cf
introduce lib.mkFlake
This makes the most common use-case a tiny bit less verbose.
2022-05-18 14:11:08 +02:00
Robert Hensing
3f25286e53 Polyfill functionTo where it is pressing 2022-05-17 23:21:05 +02:00
Robert Hensing
62e39568d5 dev: Add nixpkgs-fmt to pre-commit 2022-05-17 10:37:27 +02:00
Robert Hensing
3fe766e50c Add inputs to specialArgs 2022-05-17 10:26:19 +02:00
Robert Hensing
4835e05925 Move perSystem.checks into options 2022-05-17 10:12:13 +02:00
Robert Hensing
783e29f7dd Add mkPerSystemType, mkPerSystemModule 2022-05-17 10:12:13 +02:00
Robert Hensing
315c09733e Add freeformType to flake option 2021-11-21 16:58:54 +01:00
Robert Hensing
8c3f71965e Small beginnings 2021-10-27 11:05:52 +02:00