2021-10-27 11:05:52 +02:00
{
description = " F l a k e b a s i c s d e s c r i b e d u s i n g t h e m o d u l e s y s t e m " ;
inputs = {
2024-07-01 23:35:45 +00:00
nixpkgs-lib . url = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / a r c h i v e / 5 d a f 0 5 1 4 4 8 2 a f 3 f 9 7 a b a e f c 7 8 a 6 6 0 6 3 6 5 c 9 1 0 8 e 2 . t a r . g z " ; # 2741b4b489b55df32afac57bc4bfd220e8bf617e /lib from nixos-unstable
2021-10-27 11:05:52 +02:00
} ;
2023-05-29 13:52:03 -04:00
outputs = { nixpkgs-lib , . . . }: {
2023-05-31 16:31:11 +02:00
lib = import ./lib.nix {
inherit ( nixpkgs-lib ) lib ;
# Extra info for version check message
revInfo =
if nixpkgs-lib ? rev
then " ( n i x p k g s - l i b . r e v : ${ nixpkgs-lib . rev } ) "
else " " ;
} ;
2022-05-11 23:05:53 +02:00
templates = {
default = {
path = ./template/default ;
description = ''
2022-05-25 16:36:33 +02:00
A minimal flake using flake-parts .
2022-05-11 23:05:53 +02:00
'' ;
} ;
multi-module = {
path = ./template/multi-module ;
description = ''
2022-05-25 16:36:33 +02:00
A minimal flake using flake-parts .
2022-05-11 23:05:53 +02:00
'' ;
} ;
2023-03-25 07:38:31 +01:00
unfree = {
path = ./template/unfree ;
description = ''
A minimal flake using flake-parts importing nixpkgs with the unfree option .
'' ;
} ;
2024-06-30 12:55:15 +02:00
package = {
path = ./template/package ;
description = ''
A flake with a simple package :
- Nixpkgs
- callPackage
- src with fileset
- a check with runCommand
'' ;
} ;
2021-11-21 15:28:25 +01:00
} ;
2022-12-01 16:40:48 +00:00
flakeModules = {
easyOverlay = ./extras/easyOverlay.nix ;
2023-01-26 20:40:11 +01:00
flakeModules = ./extras/flakeModules.nix ;
2022-12-01 16:40:48 +00:00
} ;
2021-10-27 11:05:52 +02:00
} ;
}