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" ];
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
|
||||||
perSystem = args@{ system, pkgs, lib, config, ... }: let
|
perSystem = args@{ system, pkgs, lib, config, ... }: let
|
||||||
|
overlayAttrs = {
|
||||||
|
inherit (config.packages) invoiceplane-template;
|
||||||
|
};
|
||||||
invoiceplane-template = pkgs.stdenv.mkDerivation {
|
invoiceplane-template = pkgs.stdenv.mkDerivation {
|
||||||
name = "invoiceplane-template";
|
name = "invoiceplane-template";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
@ -25,10 +28,6 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
packages.default = invoiceplane-template;
|
packages.default = invoiceplane-template;
|
||||||
packages.invoiceplane-template = invoiceplane-template;
|
|
||||||
overlayAttrs = {
|
|
||||||
inherit (config.packages) invoiceplane-template;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue