mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
flake.nix: Add templates.package
This commit is contained in:
parent
ec690b9358
commit
3c51d54b88
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -33,6 +33,16 @@
|
||||||
A minimal flake using flake-parts importing nixpkgs with the unfree option.
|
A minimal flake using flake-parts importing nixpkgs with the unfree option.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
package = {
|
||||||
|
path = ./template/package;
|
||||||
|
description = ''
|
||||||
|
A flake with a simple package:
|
||||||
|
- Nixpkgs
|
||||||
|
- callPackage
|
||||||
|
- src with fileset
|
||||||
|
- a check with runCommand
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
flakeModules = {
|
flakeModules = {
|
||||||
easyOverlay = ./extras/easyOverlay.nix;
|
easyOverlay = ./extras/easyOverlay.nix;
|
||||||
|
|
Loading…
Reference in a new issue