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

204 commits

Author SHA1 Message Date
Yang, Bo
5043aa8956 Add mkDeferredModuleOption 2023-05-06 19:30:03 -07:00
hercules-ci[bot]
86684881e1
Merge pull request #141 from hercules-ci/flake-update
`flake.lock`: Update
2023-05-01 23:44:43 +00:00
Hercules CI Effects
56db8dd63b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2?dir=lib' (2023-03-30)
  → 'github:NixOS/nixpkgs/da45bf6ec7bbcc5d1e14d3795c025199f28e0de0?dir=lib' (2023-04-30)
2023-05-01 23:37:35 +00:00
hercules-ci[bot]
dcc36e45d0
Merge pull request #131 from hercules-ci/flake-update
`flake.lock`: Update
2023-04-01 23:37:03 +00:00
Hercules CI Effects
1bd0ebd523 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/130fa0baaa2b93ec45523fdcde942f6844ee9f6e?dir=lib' (2023-03-09)
  → 'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2?dir=lib' (2023-03-30)
2023-04-01 23:35:44 +00:00
bors[bot]
3502ee99d6
Merge #129
129: add an unfree template r=roberth a=Mic92

An example on how to apply nixpkgs option when importing.

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-25 09:52:21 +00:00
Jörg Thalheim
b3d11ffcb4 add an unfree template 2023-03-25 07:40:14 +01:00
Robert Hensing
c13d60b89a
Merge pull request #111 from hercules-ci/disabledModules
Support disabledModules
2023-03-09 17:39:58 +01:00
Robert Hensing
f5b6209441 flakeModules: Support disabledModules
Requires Nixpkgs > 2023-03-09
2023-03-09 17:24:06 +01:00
hercules-ci[bot]
dc531e3a9c
Merge pull request #124 from hercules-ci/flake-update
`flake.lock`: Update
2023-03-01 23:47:28 +00:00
Hercules CI Effects
66ccd5237c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
  → 'github:NixOS/nixpkgs/7f5639fa3b68054ca0b062866dc62b22c3f11505?dir=lib' (2023-02-26)
2023-03-01 23:35:44 +00:00
bors[bot]
47478a4a00
Merge #118
118: Fix highlighting in README.md r=roberth a=IogaMaster

Just a little aesthetic change.

Co-authored-by: IogaMaster <iogamastercode@gmail.com>
2023-02-09 09:06:56 +00:00
IogaMaster
3a3c386b1d Fix highlighting in README.md 2023-02-08 18:01:39 -07:00
hercules-ci[bot]
bf53492df0
Merge pull request #116 from hercules-ci/flake-update
`flake.lock`: Update
2023-02-01 23:45:33 +00:00
Hercules CI Effects
0c3f26364e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
2023-02-01 23:35:48 +00:00
Robert Hensing
7c7a8bce3d
Merge pull request #108 from hercules-ci/doc-nixosConfigurations
doc: Fix nixosModules link fragment
2023-01-26 23:12:17 +01:00
Robert Hensing
1a49a78b71 doc: Fix nixosModules link fragment 2023-01-26 23:10:40 +01:00
Robert Hensing
8f893daa73
Merge pull request #107 from hercules-ci/doc-nixosConfigurations
doc: improve `nixosConfigurations` description and example
2023-01-26 20:47:59 +01:00
Robert Hensing
0ba773370f doc: improve nixosConfigurations description and example 2023-01-26 20:37:49 +01:00
bors[bot]
82c16f1682
Merge #103
103: add lib argument to multi-module template r=roberth a=DavHau

Might be biased by my use cases but I nearly always need lib. Even if not it doesn't hurt to have it.
Also the top-level flake.nix could really use a `lib` attribute. But not sure what would be the best way to bring it in scope.
Many users will need lib, so I think it would be good to propose a sane default of how to bring it in.

Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2023-01-10 14:51:59 +00:00
DavHau
cecf9e179c
add lib argument to multi-module template
Might be biased by my use cases but I nearly always need lib. Even if not it doesn't hurt to have it.
2023-01-10 15:33:53 +08:00
Robert Hensing
aa1f6ca773
Merge pull request #102 from hercules-ci/perInput-doc
perInput: Improve description
2023-01-07 00:27:42 +01:00
Robert Hensing
08ba869d7c perInput: Improve description 2023-01-07 00:23:33 +01:00
Robert Hensing
7930f5b1c3
Merge pull request #100 from hercules-ci/easyOverlay-remove-warning
easyOverlay: fix
2023-01-05 01:17:41 +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
0944986217
Merge pull request #99 from hercules-ci/easyOverlay-remove-warning
easyOverlay: Remove performance warning which is not relevant
2023-01-05 01:09:49 +01:00
Robert Hensing
9ca2803752 easyOverlay: Remove performance warning which is not relevant 2023-01-05 01:07:58 +01:00
Robert Hensing
c089237966
Merge pull request #98 from hercules-ci/easyOverlay-support-simplistic-fake-pkgs
`easyOverlay`: support simplistic fake pkgs
2023-01-04 20:23:07 +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
836c38aa2a eval-tests: Fix warnings 2023-01-04 20:14:41 +01:00
hercules-ci[bot]
87673d7c13
Merge pull request #97 from hercules-ci/flake-update
`flake.lock`: Update
2023-01-01 23:45:55 +00:00
Hercules CI Effects
c7fb5720c1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-lib':
    'github:NixOS/nixpkgs/04f574a1c0fde90b51bf68198e2297ca4e7cccf4?dir=lib' (2022-12-18)
  → 'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
2023-01-01 23:35:50 +00:00
Robert Hensing
19e0f88324
Merge pull request #82 from hercules-ci/easyOverlay
Easy overlay publishing
2022-12-27 15:52:42 +01:00
Robert Hensing
f6d80a68c6 Add flakeModules.easyOverlay code 2022-12-27 15:39:34 +01:00
Robert Hensing
c0ee7295b4
Merge pull request #94 from hercules-ci/debug-link
doc: debug: Add link to debug page
2022-12-27 15:26:03 +01:00
Robert Hensing
2565b6d4a3 doc: debug: Add link to debug page 2022-12-27 14:05:15 +01:00
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
Robert Hensing
f5bdec7b91
Merge pull request #93 from hercules-ci/perSystem-top-level-argument-error-messages
perSystem: Add custom error messages for learning about top level module args
2022-12-27 13:01:25 +01:00
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
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
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