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

83 commits

Author SHA1 Message Date
Robert Hensing
89cce5852d
Merge pull request #48 from hercules-ci/moduleWithSystem
Add `moduleWithSystem` flake module parameter
2022-09-13 14:10:30 +02:00
Robert Hensing
e646df196a Add moduleWithSystem flake module parameter 2022-09-13 13:56:21 +02:00
Robert Hensing
d254845ca8 legacyPackages: anything -> raw
The `anything` type is too strict, because it uses `attrsOf`
internally, filtering out `mkIf` attrs and therefore evaluating
attribute values when only the names would be needed.

Furthermore, it is not safe to make assumptions about the objects
in legacyPackages, because while most attributes contain packages
or package sets, anything is allowed, so we don't know for sure how
to merge.

Fixes #52
2022-08-20 17:13:55 +02:00
Lucas Desgouilles
690e548642
Skip getExe when app.<name>.program is a string 2022-06-23 03:03:48 +02:00
Robert Hensing
19e19dce5a Add withSystem parameter 2022-05-27 17:42:33 +02:00
Robert Hensing
ec760fc665 flake.overlay -> flake.overlays (Nix 2.8) 2022-05-25 19:53:10 +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
1bd171ef6b Add pkgs parameter to perSystem 2022-05-18 11:06:17 +02:00
Robert Hensing
e1ea24ed30 Add nixosConfigurations 2022-05-17 11:01:40 +02:00
Robert Hensing
1c0f8f3036 Move perSystem.packages into options 2022-05-17 10:12:13 +02:00
Robert Hensing
fdd87732fd Move perSystem.legacyPackages into options 2022-05-17 10:12:13 +02:00
Robert Hensing
a329428f20 Move perSystem.devShells into options 2022-05-17 10:12:13 +02:00
Robert Hensing
ef93e89462 Move perSystem.apps into options 2022-05-17 10:12:13 +02:00
Robert Hensing
4835e05925 Move perSystem.checks into options 2022-05-17 10:12:13 +02:00
Robert Hensing
3149d748cb Fix docbook syntax and literalExample deprecation 2022-05-17 10:12:13 +02:00
Robert Hensing
783e29f7dd Add mkPerSystemType, mkPerSystemModule 2022-05-17 10:12:13 +02:00
Robert Hensing
1fb0d37021 flake/freeformType: anything -> raw
No need to avoid raw, because it has been merged for some time now.
2022-05-17 09:13:12 +02:00
Robert Hensing
9aba31a8b5 Add apps 2022-05-11 22:45:26 +02:00
Robert Hensing
6cbe3c89c5 Remove devShell. Use devShells.default instead. 2022-05-11 21:37:02 +02:00
Robert Hensing
0f58fecd5f Fix getSystem 2022-04-06 18:01:26 +02:00
Robert Hensing
6ec7dec1fb Add devShells
Not deprecating devShell yet.
2022-03-15 19:24:44 +01:00
Robert Hensing
77771f1d6d Add overlay 2021-11-22 22:44:39 +01:00
Robert Hensing
0cf2ff3e94 Document technical reason for requiring devShell 2021-11-22 22:44:39 +01:00
Robert Hensing
e5d5866b1d Add nixosModules 2021-11-22 22:44:39 +01:00
Robert Hensing
6b7705d350 Add darwinModules 2021-11-22 22:44:39 +01:00
Robert Hensing
1b82c7f771 Memoize perSystem in allSystems, require devShell 2021-11-22 22:01:38 +01:00
Robert Hensing
d5703798a8 Set the default devShell to null 2021-11-22 16:36:16 +01:00
Robert Hensing
f8df47d193 Remove systems default
[] is not a sensible default and the choice is up to the flake
author. I wish it was different.
2021-11-22 16:27:49 +01:00
Robert Hensing
315c09733e Add freeformType to flake option 2021-11-21 16:58:54 +01:00
Robert Hensing
06ebe54ddb Add more descriptions 2021-11-21 16:33:33 +01:00
Robert Hensing
7460d63718 Remove unused self.nix 2021-11-21 16:33:33 +01:00
Robert Hensing
8c3f71965e Small beginnings 2021-10-27 11:05:52 +02:00