1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-15 17:50:53 +00:00
Commit graph

12 commits

Author SHA1 Message Date
matthewcroughan
14114c563a templates: make flake-parts input explicit 2024-01-29 22:41:55 +00:00
sempruijs
ebc8532767
Add aarch64-linux and x86_64-darwin systems to the default template 2023-06-17 21:11:44 +02:00
Robert Hensing
bcb7065174 Fix infinite recursion in inputs 2022-12-17 18:42:26 +01:00
Shea Levy
13dddfdc67
Only depend on nixpkgs/lib.
This reflects the actual requirements of the core flake-parts
functionality and removes any possible confusion about where lib comes
from (always flake-parts's input) vs where pkgs comes from (always the
flake's nixpkgs input). Flakes which use flake-parts should only ever
have to override its input in the very unlikely event of a bug in lib.

Hopefully lib will be separated into its own flake some day, which
will also make this a much smaller footprint.
2022-10-11 13:59:40 -04:00
Robert Hensing
3e90daeccb templates: Use flake registry for flake-parts 2022-07-06 12:08:09 +02:00
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
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
5890e431bb Move template files 2022-05-11 22:05:39 +02:00