Commit graph

19 commits

Author SHA1 Message Date
Robert Hensing
b696a983bc flakeModules.modules: Make values valid definitions for plain submodule 2025-12-12 00:26:20 +01:00
Robert Hensing
ae8d320936 docs(bundlers): Improve option description
- Add test location comment
- Update URL to current nix.dev docs
- Explain what bundlers are and how to use them
2025-11-21 22:00:48 +01:00
Robert Hensing
3d1579ea09 Update and vendor flake-compat
Unusual, not my first choice, but the right choice, all things
considered.

See vendor/flake-compat/README.md
2025-11-06 15:35:41 +01:00
Robert Hensing
e879f7348f docs: Show equivalent for partitionedAttrs
Add a concise example showing what partitionedAttrs expands to, making
it clearer how the shorthand relates to the underlying implementation.
2025-10-20 10:25:16 +02:00
Silvio Ankermann
2b8cc3634d Add option perSystem.<>.bundlers
Closes #159
2025-08-05 21:04:43 +02:00
Robert Hensing
85954c907b Update get-flake to its upstream, flake-compat
flake-compat now has an equally general interface, so we can switch
to it, and get fixes a bit sooner.

Specifically, https://github.com/edolstra/flake-compat/pull/67
solves https://github.com/hercules-ci/flake-parts/issues/252
in this update.
2024-12-04 12:33:13 +01:00
Yang, Bo
78bf03cea3 Remove default value of extraInputsFlake 2024-09-12 16:54:39 +02:00
Robert Hensing
d50b490ccc Add flakeModules.modules, declaring flake.modules 2024-09-12 16:43:08 +02:00
Robert Hensing
1728089f3e flakeModules.partitions: Improve and fix docs 2024-08-30 13:05:41 +02:00
Robert Hensing
0d5122e84c Add flakeModules.partitions 2024-08-29 14:03:28 +02:00
Robert Hensing
411e5ab0e8 Add class: imports "type checking"
Initially this had some feature checking with lib.functionArgs, but
I don't think this is useful. The _class attribute is not supported
by long-unsupported Nixpkgs (<23.05) anyway, so let's keep it simple.
2024-05-16 15:09:50 +02:00
Yang, Bo
f359432597
Merge branch 'main' into moduleLocation 2023-07-22 18:07:20 -07:00
figsoda
40ee120dcc remove unused code 2023-05-29 13:52:03 -04:00
Yang, Bo
1e8a89e5f8 Add moduleLocation to mkFlake argument
tmp
2023-05-09 09:53:22 -07:00
Robert Hensing
ebb60dc617 flakeModules: Improve doc 2023-05-08 17:42:26 +02:00
Robert Hensing
f5b6209441 flakeModules: Support disabledModules
Requires Nixpkgs > 2023-03-09
2023-03-09 17:24:06 +01:00
Robert Hensing
9ca2803752 easyOverlay: Remove performance warning which is not relevant 2023-01-05 01:07:58 +01:00
Robert Hensing
30bddfe65b easyOverlay: Support pkgs.system as a fallback
This is required for `exportOverlays` in `digga`, which passes a fake
`pkgs` that doesn't have a `pkgs.stdenv`, but does have a `pkgs.system`.
2023-01-04 20:14:41 +01:00
Robert Hensing
f6d80a68c6 Add flakeModules.easyOverlay code 2022-12-27 15:39:34 +01:00