forked from momo/invoiceplane-template
flake: fix build for multiple target systems
This commit is contained in:
parent
265e79e624
commit
aa3dfb8300
|
@ -15,6 +15,9 @@
|
|||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
|
||||
perSystem = args@{ system, pkgs, lib, config, ... }: let
|
||||
overlayAttrs = {
|
||||
inherit (config.packages) invoiceplane-template;
|
||||
};
|
||||
invoiceplane-template = pkgs.stdenv.mkDerivation {
|
||||
name = "invoiceplane-template";
|
||||
src = ./.;
|
||||
|
@ -25,10 +28,6 @@
|
|||
};
|
||||
in {
|
||||
packages.default = invoiceplane-template;
|
||||
packages.invoiceplane-template = invoiceplane-template;
|
||||
overlayAttrs = {
|
||||
inherit (config.packages) invoiceplane-template;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue