mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Dogfood lib.mkFlake
This commit is contained in:
parent
3ea6893659
commit
c07ef7e578
1 changed files with 6 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
nixpkgs-lib.url = "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"; # 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58 /lib from nixos-unstable
|
||||
};
|
||||
|
||||
outputs = { nixpkgs-lib, ... }:
|
||||
outputs = inputs@{ nixpkgs-lib, ... }:
|
||||
let
|
||||
lib = import ./lib.nix {
|
||||
inherit (nixpkgs-lib) lib;
|
||||
|
@ -50,8 +50,11 @@
|
|||
flakeModules = ./extras/flakeModules.nix;
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit lib templates flakeModules;
|
||||
lib.mkFlake { inherit inputs; } {
|
||||
systems = [ ];
|
||||
flake = {
|
||||
inherit lib templates flakeModules;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue