flake: fix build for multiple target systems

This commit is contained in:
teutat3s 2024-06-16 20:46:27 +02:00
parent 265e79e624
commit aa3dfb8300
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -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;
};
}; };
}; };
} }