Remove llm-workflow-engine derivation fro aarch64-linux

This commit is contained in:
Andrea Ciceri 2024-01-26 15:01:59 +01:00
parent 09e977cc18
commit 30ca703476
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -5,7 +5,8 @@
self, self,
... ...
}: { }: {
options.fleet.overlays = let options.fleet = {
overlays = let
overlayType = lib.mkOptionType { overlayType = lib.mkOptionType {
name = "nixpkgs-overlay"; name = "nixpkgs-overlay";
description = "nixpkgs overlay"; description = "nixpkgs overlay";
@ -26,6 +27,15 @@
}) })
]; ];
}; };
brokenPackages = lib.mkOption {
description = "Packages that are broken on a given system";
type = lib.types.attrsOf (lib.types.listOf lib.types.str);
default = {
aarch64-linux = ["llm-workflow-engine"];
x86_64-linux = [];
};
};
};
config.perSystem = { config.perSystem = {
system, system,
@ -40,7 +50,8 @@
config.fleet.overlays; config.fleet.overlays;
packages = packages =
lib.mapAttrs' builtins.removeAttrs
(lib.mapAttrs'
(name: value: { (name: value: {
inherit name; inherit name;
value = pkgs.callPackage "${self}/packages/${name}" { value = pkgs.callPackage "${self}/packages/${name}" {
@ -52,6 +63,7 @@
}) })
(lib.filterAttrs (lib.filterAttrs
(_: type: type == "directory") (_: type: type == "directory")
(builtins.readDir "${self}/packages")); (builtins.readDir "${self}/packages")))
config.fleet.brokenPackages.${system};
}; };
} }