mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-22 15:33:10 +01:00
Make flakelite a functor as a shortcut for mkFlake
This commit is contained in:
parent
59ccd592a3
commit
bd68bc5c44
@ -465,4 +465,7 @@ let
|
|||||||
(_: root'.outputs)
|
(_: root'.outputs)
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
exports
|
{
|
||||||
|
lib = exports;
|
||||||
|
__functor = _: mkFlake;
|
||||||
|
}
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
inputs.nixpkgs.url = "nixpkgs/nixos-22.11";
|
inputs.nixpkgs.url = "nixpkgs/nixos-22.11";
|
||||||
outputs = inputs:
|
outputs = inputs:
|
||||||
let
|
let
|
||||||
flakelite.lib = import ./. inputs;
|
flakelite = import ./. inputs;
|
||||||
in
|
in
|
||||||
flakelite.lib.mkFlake ./. {
|
flakelite ./. {
|
||||||
nixDir = ./.;
|
nixDir = ./.;
|
||||||
outputs = flakelite;
|
outputs = _: flakelite;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user