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

164 commits

Author SHA1 Message Date
Robert Hensing
a765ceb02c perSystem: Add custom error messages for learning about top level module args
Example:

```
error: `self` (without `'`) is not a `perSystem` module argument, but a
       module argument  of the top level config.

       The following is an example usage of `self`. Note that its binding
       is in the `top` parameter list, which is declared by the top level module
       rather than the `perSystem` module.

         top@{ config, lib, self, ... }: {
           perSystem = { config, self', ... }: {
             # in scope here:
             #  - self
             #  - self'
             #  - config (of perSystem)
             #  - top.config (note the `top@` pattern)
           };
         }
```
2022-12-27 12:59:03 +01:00
Robert Hensing
6b2d46d9ab
Merge pull request #91 from hercules-ci/default-module-location
mkFlake: Set default module location
2022-12-27 10:26:03 +01: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
98bec08c58
Merge pull request #89 from hercules-ci/updater
Updater
2022-12-22 13:09:31 +01:00
hercules-ci[bot]
738b325149
Merge pull request #88 from hercules-ci/flake-update
`flake.lock`: Update
2022-12-22 12:09:10 +00:00
Hercules CI Effects
cb197c1c51 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
  → 'github:NixOS/nixpkgs/04f574a1c0fde90b51bf68198e2297ca4e7cccf4?dir=lib' (2022-12-18)
2022-12-22 12:08:01 +00:00
Robert Hensing
b7405dad3f Auto-update the root flake 2022-12-22 13:02:16 +01:00
Robert Hensing
9dab936e56 dev: Update dev dependencies 2022-12-22 13:02:16 +01:00
Robert Hensing
0f13f04557
Merge pull request #87 from hercules-ci/add-debug
Add debug module
2022-12-20 23:33:20 +01:00
Robert Hensing
7bb0781d08 Add debug module 2022-12-20 18:07:16 +01:00
bors[bot]
3f71726469
Merge #86
86: Fix broken link in README.md r=roberth a=ldesgoui



Co-authored-by: Lucas Desgouilles <ldesgoui@ldesgoui.xyz>
2022-12-18 00:22:26 +00:00
Lucas Desgouilles
8508036898
Fix broken link in README.md 2022-12-18 00:22:52 +01:00
Robert Hensing
b1ee298640 Poke github
The last PR was merged at the git layer, but the GitHub UI doesn't
show the merged state.
Furthermore, webhooks from this action have not arrived at
Hercules CI, or the GitHub Apps dashboard for webhooks for that
matter.

Maybe another push event will kick things back into action?
2022-12-18 00:02:06 +01:00
Robert Hensing
21640cde4c
Merge pull request #85 from hercules-ci/fix-inputs-infinite-recursion
Fix infinite recursion in inputs imports
2022-12-17 19:18:34 +01:00
Robert Hensing
bcb7065174 Fix infinite recursion in inputs 2022-12-17 18:42:26 +01:00
Robert Hensing
8d0e2444ab
Merge pull request #80 from hercules-ci/darwin-cleanup
Darwin cleanup
2022-12-07 20:33:16 +01:00
Robert Hensing
44c1ee5b28
Update ChangeLog.md 2022-12-07 20:29:59 +01:00
Robert Hensing
85518a2916 Remove darwinModules
It should be added to the nix-darwin project instead.
2022-11-27 16:21:59 +00:00
Robert Hensing
c742f6f25a Add some eval tests
Not how I would recommend to do it, because I'm forcefully trying
to avoid adding dependencies to flake-parts.
Other projects should not follow this restriction.
2022-11-27 16:06:43 +00:00
Robert Hensing
d591857e9d
Merge pull request #73 from hercules-ci/tidy-readme
Remove docs that have been moved to flake.parts and improved
2022-11-14 19:36:17 +01:00
Robert Hensing
5f32d4a47e Remove docs that have been moved to flake.parts and improved 2022-11-14 19:34:51 +01:00
Robert Hensing
60c4f3b26e
Merge pull request #72 from hercules-ci/fix-formatter
Fix formatter
2022-11-13 12:29:58 +01:00
Robert Hensing
ca41a1b69b Explain hci effect tests 2022-11-13 12:25:55 +01:00
Robert Hensing
985c55dce2 Test the template 2022-11-13 12:19:55 +01:00
Robert Hensing
4944a920d2 formatter: Use markdown 2022-11-13 11:51:28 +01:00
Robert Hensing
a78bfeaa86 Revert "formatter: Use mkTransposedPerSystemModule"
This reverts commit e7da962abb.
2022-11-13 11:50:16 +01:00
Robert Hensing
f44ebd5897
Merge pull request #71 from hercules-ci/move-site
Move site
2022-11-12 16:42:36 +01:00
Robert Hensing
1fea3a9004 Strip dev/flake.nix 2022-11-12 16:40:45 +01:00
Robert Hensing
26b671f980 Unignore flake.lock. We use a committed lock now. 2022-11-12 16:38:48 +01:00
Robert Hensing
a98d38d5a5 Move site to repo hercules-ci/flake.parts-website
https://github.com/hercules-ci/flake.parts-website
2022-11-12 16:38:48 +01:00
Robert Hensing
3fb80e6d35 Link to documentation 2022-11-12 16:36:57 +01:00
Robert Hensing
e0bb9d434b
Merge pull request #70 from hercules-ci/dream2nix-beta
Add nix-community/dream2nix to docs
2022-11-11 14:55:22 +01:00
Robert Hensing
e946d927ad Add nix-community/dream2nix to docs 2022-11-11 14:52:51 +01:00
Robert Hensing
c385c27e82
Merge pull request #68 from hercules-ci/markdown
Use mdbook for site, improve docs and readme
2022-11-11 13:00:21 +01:00
Robert Hensing
bb9803d07a Expose generated option docs as packages 2022-11-11 12:57:01 +01:00
Robert Hensing
ff00c859d0 Add srid/haskell-flake to docs 2022-11-11 12:56:38 +01:00
Robert Hensing
9de9af5460 Use mdbook for site, improve docs and readme 2022-11-11 12:16:35 +01:00
Robert Hensing
f5804191e0
Merge pull request #65 from hercules-ci/markdown
Change docs to markdown and improve a bit
2022-11-11 09:02:54 +01:00
Robert Hensing
5bbb5e579d Fix warning 2022-11-11 08:17:50 +01:00
Robert Hensing
45fc384fe3 Use flakeModule based automatic herculesCI.onPush 2022-11-11 08:07:08 +01:00
Robert Hensing
d8f05073ae Remove redundant lib.mdDoc 2022-11-11 07:41:10 +01:00
Robert Hensing
6b87695050 Use markdown by default 2022-11-11 07:41:08 +01:00
Robert Hensing
fb87cc7333 dev/flake.nix: Rewrite comments 2022-11-11 05:53:18 +01:00
Robert Hensing
3efe8e4619 dev/flake.nix: Update flakerefs 2022-11-11 05:50:50 +01:00
Robert Hensing
e0291201b0 dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/e14d2131b7c81acca3904b584ac45fb72da64dd2' (2022-05-29)
  → 'github:hercules-ci/hercules-ci-effects/692309d1cbb24847cc2b0a345ec9f0fe9481a7db' (2022-11-10)
• Added input 'hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/0e101dbae756d35a376a5e1faea532608e4a4b9a' (2022-10-27)
• Added input 'hercules-ci-effects/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
• Added input 'hercules-ci-effects/hercules-ci-agent':
    'github:hercules-ci/hercules-ci-agent/58954ab190bbc27a9d5149ebdafbf80851476461' (2022-11-09)
• Added input 'hercules-ci-effects/hercules-ci-agent/flake-parts':
    'github:hercules-ci/flake-parts/608ed3502263d6f4f886d75c48fc2b444a4ab8d8' (2022-07-06)
• Added input 'hercules-ci-effects/hercules-ci-agent/flake-parts/nixpkgs':
    follows 'hercules-ci-effects/hercules-ci-agent/nixpkgs'
• Added input 'hercules-ci-effects/hercules-ci-agent/nix-darwin':
    'github:LnL7/nix-darwin/54a24f042f93c79f5679f133faddedec61955cf2' (2022-07-14)
• Added input 'hercules-ci-effects/hercules-ci-agent/nix-darwin/nixpkgs':
    follows 'hercules-ci-effects/hercules-ci-agent/nixpkgs'
• Added input 'hercules-ci-effects/hercules-ci-agent/nixpkgs':
    'github:NixOS/nixpkgs/c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d' (2022-08-12)
• Added input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix':
    'github:hercules-ci/pre-commit-hooks.nix/596dac761042d9ba90a507d43ad506cb952c984d' (2022-05-29)
• Added input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix/flake-utils':
    'github:numtide/flake-utils/2ebf2558e5bf978c7fb8ea927dfaed8fefab2e28' (2021-04-25)
• Added input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix/nixpkgs':
    follows 'hercules-ci-effects/hercules-ci-agent/nixpkgs'
• Updated input 'hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58' (2022-03-14)
  → 'github:NixOS/nixpkgs/52392d42c156db5b889db7f3cc3e9909e4259b2a' (2022-09-28)
• Updated input 'nixpkgs':
    'github:hercules-ci/nixpkgs/612e22e67eb6f8d5bfb6288abe515e9da3b96103' (2022-05-25)
  → 'github:NixOS/nixpkgs/872fceeed60ae6b7766cc0a4cd5bf5901b9098ec' (2022-11-09)
• Updated input 'pre-commit-hooks-nix':
    'github:hercules-ci/pre-commit-hooks.nix/596dac761042d9ba90a507d43ad506cb952c984d' (2022-05-29)
  → 'github:cachix/pre-commit-hooks.nix/ebcbfe09d2bd6d15f68de3a0ebb1e4dcb5cd324b' (2022-11-09)
• Updated input 'pre-commit-hooks-nix/flake-utils':
    'github:numtide/flake-utils/2ebf2558e5bf978c7fb8ea927dfaed8fefab2e28' (2021-04-25)
  → 'github:numtide/flake-utils/6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817' (2022-10-29)
2022-11-11 05:50:01 +01:00
Robert Hensing
f3fa98168a
Merge pull request #64 from shlevy/perSystem-module
Add mkTransposedPerSystemModule for simple per-system exposed attrs
2022-11-11 05:39:28 +01:00
Shea Levy
96c27dbba0
packages: Use mkTransposedPerSystemModule 2022-11-10 14:06:56 -05:00
Shea Levy
1e5e56e476
legacyPackages: Use mkTransposedPerSystemModule 2022-11-10 14:06:33 -05:00
Shea Levy
e7da962abb
formatter: Use mkTransposedPerSystemModule 2022-11-10 14:06:11 -05:00
Shea Levy
5e259eb312
devShells: Use mkTransposedPerSystemModule 2022-11-10 14:05:51 -05:00