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

336 commits

Author SHA1 Message Date
Robert Hensing
bcef6817a8
Merge pull request #248 from Atry/patch-3
Remove the default value of `extraInputsFlake`
2024-09-12 16:57:50 +02:00
Robert Hensing
5766ecf987 Test unset extraInputsFlake 2024-09-12 16:56:41 +02:00
Yang, Bo
78bf03cea3 Remove default value of extraInputsFlake 2024-09-12 16:54:39 +02:00
Robert Hensing
6a8c72c0cf
Merge pull request #213 from hercules-ci/modules-output
Add flake.modules (opt-in)
2024-09-12 16:45:35 +02:00
Robert Hensing
3314f9c931 eval-tests: Remove getFlake calls 2024-09-12 16:43:39 +02:00
Robert Hensing
d50b490ccc Add flakeModules.modules, declaring flake.modules 2024-09-12 16:43:08 +02:00
Robert Hensing
dc3b467eac
Merge pull request #249 from Atry/patch-4
Set proper type for `flake.nixosModules`
2024-09-12 16:25:47 +02:00
Yang, Bo
9c92fd1582
Set proper type for flake.nixosModules 2024-09-12 01:09:17 -07:00
hercules-ci[bot]
567b938d64
Merge pull request #245 from hercules-ci/flake-update
`flake.lock`: Update
2024-09-01 23:45:43 +00:00
Hercules CI Effects
555010eb1a dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/11e4b8dc112e2f485d7c97e1cee77f9958f498f5' (2024-06-24)
  → 'github:hercules-ci/hercules-ci-effects/dba4367b9a9d9615456c430a6d6af716f6e84cef' (2024-08-29)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fcdc2b93639594f48bcf00d675fc015ccacf9b79' (2024-08-01)
  → 'github:NixOS/nixpkgs/43e0b0d1bed337243512a4f018226e4309002203' (2024-09-01)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
  → 'github:cachix/pre-commit-hooks.nix/4509ca64f1084e73bc7a721b20c669a8d4c5ebe6' (2024-08-28)
2024-09-01 23:36:04 +00:00
Hercules CI Effects
fb8a5210dd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'a5d394176e.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01)
  → '356624c120.tar.gz?narHash=sha256-Ss8QWLXdr2JCBPcYChJhz4xJm%2Bh/xjl4G0c0XlP6a74%3D' (2024-09-01)
2024-09-01 23:35:47 +00:00
Hercules CI Effects
a7b916caf6 flake.nix: Update nixpkgs-lib tree 2024-09-01 23:35:46 +00:00
Robert Hensing
af510d4a62
Merge pull request #240 from shivaraj-bh/freeform-app-type
apps: Add `meta` option
2024-08-30 15:33:30 +02:00
Robert Hensing
f112e301b3 Fix test 2024-08-30 15:31:45 +02:00
Robert Hensing
4f37dc19b4
Merge pull request #243 from hercules-ci/partition
flakeModules.partitions: Improve and fix docs
2024-08-30 13:06:22 +02:00
Robert Hensing
1728089f3e flakeModules.partitions: Improve and fix docs 2024-08-30 13:05:41 +02:00
Robert Hensing
1e6fc322ad
Merge pull request #242 from hercules-ci/partition
Partitions
2024-08-30 11:50:04 +02:00
Robert Hensing
1957ef2c4b Dogfood flakeModules.partitions 2024-08-29 14:03:28 +02:00
Robert Hensing
0d5122e84c Add flakeModules.partitions 2024-08-29 14:03:28 +02:00
Robert Hensing
c07ef7e578 Dogfood lib.mkFlake 2024-08-29 13:58:01 +02:00
Robert Hensing
3ea6893659 refact: Add let binding to flake.nix 2024-08-29 13:57:47 +02:00
Shivaraj B H
358ab8370e
reference to Nix manual
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-08-17 17:48:49 +05:30
Shivaraj B H
309636f1b0
correct typo
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-08-17 17:48:00 +05:30
shivaraj-bh
4a41226e75 apps: Add meta option
This allows specifying metadata info about the flake app. This has been
standardized in Nix at https://github.com/NixOS/nix/pull/11297
2024-08-17 16:58:53 +05:30
hercules-ci[bot]
8471fe90ad
Merge pull request #239 from hercules-ci/flake-update
`flake.lock`: Update
2024-08-01 23:40:00 +00:00
Hercules CI Effects
6e7574aa8f dev/flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/71e88077ca0d82ca09cb3f4975fb96d1313607fb' (2024-07-01)
  → 'github:NixOS/nixpkgs/fcdc2b93639594f48bcf00d675fc015ccacf9b79' (2024-08-01)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07' (2024-06-24)
  → 'github:cachix/pre-commit-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
• Updated input 'pre-commit-hooks-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125' (2024-06-19)
  → 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07)
2024-08-01 23:35:51 +00:00
Hercules CI Effects
a863ccbd15 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
  → 'a5d394176e.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01)
2024-08-01 23:35:39 +00:00
Hercules CI Effects
edde5ac31b flake.nix: Update nixpkgs-lib tree 2024-08-01 23:35:38 +00:00
Robert Hensing
9227223f6d
Merge pull request #235 from hercules-ci/test-specialArgs
Test mkFlake specialArgs
2024-07-03 10:15:18 +02:00
Robert Hensing
6f8516c874 Test mkFlake specialArgs 2024-07-03 10:12:44 +02:00
hercules-ci[bot]
4e35834232
Merge pull request #233 from hercules-ci/flake-update
`flake.lock`: Update
2024-07-01 23:44:14 +00:00
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
3c880e0a30 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'eb9ceca17d.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01)
  → '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
2024-07-01 23:35:45 +00:00
Hercules CI Effects
296e5e7da4 flake.nix: Update nixpkgs-lib tree 2024-07-01 23:35:45 +00:00
Robert Hensing
c3c5ecc05e
Merge pull request #232 from hercules-ci/package-template
Package template
2024-06-30 13:01:45 +02:00
Robert Hensing
3c51d54b88 flake.nix: Add templates.package 2024-06-30 12:55:15 +02:00
Robert Hensing
ec690b9358 template/package: Use fileset 2024-06-30 12:54:51 +02:00
hercules-ci[bot]
2a55567fcf
Merge pull request #229 from hercules-ci/flake-update
`flake.lock`: Update
2024-06-01 23:45:11 +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
Hercules CI Effects
b31c67e736 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    '50eb7ecf4c.tar.gz?narHash=sha256-QBx10%2Bk6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94%3D' (2024-05-02)
  → 'eb9ceca17d.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01)
2024-06-01 23:35:38 +00:00
Hercules CI Effects
9d2955e6dd flake.nix: Update nixpkgs-lib tree 2024-06-01 23:35:37 +00:00
Robert Hensing
8dc45382d5
Merge pull request #154 from hercules-ci/class
Add class: imports "type checking"
2024-05-16 15:16:44 +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
Robert Hensing
bef010be01
Merge pull request #228 from hercules-ci/remove-mdDoc
maint: Remove lib.mdDoc calls
2024-05-16 15:06:45 +02:00
Robert Hensing
b5ab46fe03 maint: Remove lib.mdDoc calls 2024-05-16 15:00:17 +02:00
Robert Hensing
e5d10a24b6
Merge pull request #226 from hercules-ci/nixpkgs-lib
flake-update: Get the nixpkgs/lib subtree only
2024-05-02 11:10:30 +02: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[bot]
48724111e9
Merge pull request #227 from hercules-ci/flake-update
`flake.lock`: Update
2024-05-02 09:08:26 +00: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