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

12 commits

Author SHA1 Message Date
Eric Drechsel
fe47133e9d
Set packages.default for nix run
With the pre-2.7 `defaultPackage` key, one would write
```
defaultPackage = packages.hello
```

I guess you can do the same in 2.7, but then you have two attrs in packages, which seems like it might confuse tooling:

```
packages.default = packages.hello
```

I wonder if packages.default shouldn't be a string? but then it would need validation...
2022-06-03 14:02:13 -07: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
db611fc5ab templates.multi-module: Use lib.mkFlake 2022-05-19 09:51:39 +02:00
Jonas Chevalier
55ee2b46b3
Update template/default/flake.nix
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-05-18 19:25:45 +02:00
zimbatm
ad19f920cf
introduce lib.mkFlake
This makes the most common use-case a tiny bit less verbose.
2022-05-18 14:11:08 +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
f2e42edb60 Add multi-module template 2022-05-11 23:05:53 +02:00
Robert Hensing
5890e431bb Move template files 2022-05-11 22:05:39 +02:00
Robert Hensing
85666d4657 Add a valid description placeholder 2022-05-11 21:48:24 +02:00
Robert Hensing
03a2500fdd Add template rewrite README sections 2021-11-22 16:27:49 +01:00