flake: add overlay
This commit is contained in:
parent
0655ff6db3
commit
c24aa121de
|
@ -8,6 +8,10 @@
|
|||
|
||||
outputs = inputs@{ self, ... }:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
imports = [
|
||||
inputs.flake-parts.flakeModules.easyOverlay
|
||||
];
|
||||
|
||||
perSystem = args@{ system, pkgs, lib, config, ... }: let
|
||||
invoiceplane-template = pkgs.stdenv.mkDerivation {
|
||||
name = "invoiceplane-template";
|
||||
|
@ -20,6 +24,9 @@
|
|||
in {
|
||||
packages.default = invoiceplane-template;
|
||||
packages.invoiceplane-template = invoiceplane-template;
|
||||
overlayAttrs = {
|
||||
inherit (config.packages) invoiceplane-template;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue