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

49 commits

Author SHA1 Message Date
Hercules CI Effects
2a2386ab38 dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/c0302ec12d569532a6b6bd218f698bc402e93adc' (2024-04-23)
  → 'github:hercules-ci/hercules-ci-effects/11e4b8dc112e2f485d7c97e1cee77f9958f498f5' (2024-06-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1fc28243e2f9ad794c8c5cea12e7352f270f734b' (2024-06-01)
  → 'github:NixOS/nixpkgs/71e88077ca0d82ca09cb3f4975fb96d1313607fb' (2024-07-01)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0' (2024-05-20)
  → 'github:cachix/pre-commit-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07' (2024-06-24)
• Updated input 'pre-commit-hooks-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
  → 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125' (2024-06-19)
2024-07-01 23:36:01 +00:00
Hercules CI Effects
5db20caf0c dev/flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9ee8e1eff0bef65143657cf6d825ce00f8bccc35' (2024-05-02)
  → 'github:NixOS/nixpkgs/1fc28243e2f9ad794c8c5cea12e7352f270f734b' (2024-06-01)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/2849da033884f54822af194400f8dff435ada242' (2024-04-30)
  → 'github:cachix/pre-commit-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0' (2024-05-20)
• Removed input 'pre-commit-hooks-nix/flake-utils'
• Removed input 'pre-commit-hooks-nix/flake-utils/systems'
2024-06-01 23:35:53 +00:00
Robert Hensing
99b383f988 dev: Also update dev flake lock 2024-05-02 11:09:32 +02:00
Robert Hensing
e807eea9e8 flake-update: Get the nixpkgs/lib subtree only 2024-05-02 11:09:32 +02:00
Hercules CI Effects
497713541e dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/9684190de4cd0e75859f1939d13973fce3a7ce46' (2022-12-22)
  → 'github:hercules-ci/hercules-ci-effects/c0302ec12d569532a6b6bd218f698bc402e93adc' (2024-04-23)
• Updated input 'hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/0e101dbae756d35a376a5e1faea532608e4a4b9a' (2022-10-27)
  → 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
• Updated input 'hercules-ci-effects/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
  → follows 'hercules-ci-effects/nixpkgs'
• Removed input 'hercules-ci-effects/hercules-ci-agent'
• Removed input 'hercules-ci-effects/hercules-ci-agent/flake-parts'
• Removed input 'hercules-ci-effects/hercules-ci-agent/flake-parts/nixpkgs'
• Removed input 'hercules-ci-effects/hercules-ci-agent/nix-darwin'
• Removed input 'hercules-ci-effects/hercules-ci-agent/nix-darwin/nixpkgs'
• Removed input 'hercules-ci-effects/hercules-ci-agent/nixpkgs'
• Removed input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix'
• Removed input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix/flake-utils'
• Removed input 'hercules-ci-effects/hercules-ci-agent/pre-commit-hooks-nix/nixpkgs'
• Updated input 'hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/52392d42c156db5b889db7f3cc3e9909e4259b2a' (2022-09-28)
  → 'github:NixOS/nixpkgs/6143fc5eeb9c4f00163267708e26191d1e918932' (2024-04-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8009798849bc1e8d3540b0dd38e3a3260257bd88' (2023-03-09)
  → 'github:NixOS/nixpkgs/9ee8e1eff0bef65143657cf6d825ce00f8bccc35' (2024-05-02)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/200790e9c77064c53eaf95805b013d96615ecc27' (2022-12-19)
  → 'github:cachix/pre-commit-hooks.nix/2849da033884f54822af194400f8dff435ada242' (2024-04-30)
• Updated input 'pre-commit-hooks-nix/flake-compat':
    'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'pre-commit-hooks-nix/flake-utils':
    'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
• Added input 'pre-commit-hooks-nix/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'pre-commit-hooks-nix/gitignore':
    'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'pre-commit-hooks-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/d513b448cc2a6da2c8803e3c197c9fc7e67b19e3' (2022-12-17)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
2024-05-02 09:01:08 +00:00
Robert Hensing
b60b914ac6 dev: Make the test slightly more sensible 2024-01-30 00:00:55 +01:00
Robert Hensing
bffc4be17f
Merge pull request #209 from hercules-ci/getexe
Getexe
2024-01-29 19:03:35 +01:00
Robert Hensing
562a6b5e54 dev: Test apps 2024-01-29 18:57:10 +01:00
Robert Hensing
c8c8e5661e Remove errorLocation from the tests
As mentioned in the previous commit, we don't have a use case for
this in flake-parts yet, as far as I'm aware. It can be exposed
when we do have a concrete use case where it is needed.
2023-10-14 00:06:42 +02:00
Robert Hensing
f427ecf1a0 Repurpose moduleLocation impl for new errorLocation
The difference is that moduleLocation is "guaranteed" reliable data,
whereas errorLocation is the best choice for error messages in the core.

moduleLocation is suitable for the module key attribute.
errorLocation is best for the *ROOT* module _file attribute.

Initially I applied errorLocation in too many places. It is only needed
when the flake output attribute names are strict in it.
To avoid confusion, I'm not exposing errorLocation to the modules, until
we have a concrete use case for it.
2023-10-14 00:03:28 +02:00
Robert Hensing
80717d1161
Merge pull request #163 from figsoda/unused
remove unused code
2023-05-30 16:30:39 +02:00
Robert Hensing
6ae737878e Test that packages is not strict in devShell
Discovered and solved by figsoda, see
https://github.com/hercules-ci/flake-parts/issues/160
2023-05-30 15:31:19 +02:00
figsoda
40ee120dcc remove unused code 2023-05-29 13:52:03 -04:00
Robert Hensing
f5b6209441 flakeModules: Support disabledModules
Requires Nixpkgs > 2023-03-09
2023-03-09 17:24:06 +01:00
Robert Hensing
319ee04044 easyOverlay: fix
The tests only caught this for the non-memoized system case.
2023-01-05 01:16:03 +01:00
Robert Hensing
836c38aa2a eval-tests: Fix warnings 2023-01-04 20:14:41 +01:00
Robert Hensing
f6d80a68c6 Add flakeModules.easyOverlay code 2022-12-27 15:39:34 +01: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
bcb7065174 Fix infinite recursion in inputs 2022-12-17 18:42:26 +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
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
1fea3a9004 Strip dev/flake.nix 2022-11-12 16:40:45 +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
e946d927ad Add nix-community/dream2nix to docs 2022-11-11 14:52:51 +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
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
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
Shea Levy
d707369f93
dev: Use flake.lock of main flake 2022-10-30 06:50:15 -04:00
Robert Hensing
d1095bd855 Add hercules-ci-effects doc 2022-05-29 18:30:11 +02:00
Robert Hensing
5a628a0994 Add pre-commit-hooks.nix to the docs
Ultimately Hercules CI should take care of the dependency injection,
but let's make a start first.
2022-05-29 18:07:43 +02:00
Robert Hensing
8fe43d231b dev: Use hercules-ci-effects.flakeModule 2022-05-28 16:38:26 +02:00
Robert Hensing
c2aa066381 Run basic deploy previews 2022-05-28 12:48:07 +02: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
Robert Hensing
3ff2098da2 Improve option docs, update effect 2022-05-25 16:20:28 +02:00
Robert Hensing
13fc0c610b Deploy basic site with netlify 2022-05-25 10:05:25 +02:00
Robert Hensing
1bd171ef6b Add pkgs parameter to perSystem 2022-05-18 11:06:17 +02:00
Robert Hensing
62e39568d5 dev: Add nixpkgs-fmt to pre-commit 2022-05-17 10:37:27 +02:00
Robert Hensing
fcf9d5234b dev: Add pre-commit-hooks.nix 2022-05-17 10:37:15 +02:00
Robert Hensing
f2f09d5752 dev/flake.nix: Explain why we only use inputs 2022-05-17 10:26:19 +02:00
Robert Hensing
140da4067f Add local tooling and CI wiring without bloating flake.nix 2022-05-17 10:12:40 +02:00