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,
...
}: {
options.fleet.overlays = let
options.fleet = {
overlays = let
overlayType = lib.mkOptionType {
name = "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 = {
system,
@ -40,7 +50,8 @@
config.fleet.overlays;
packages =
lib.mapAttrs'
builtins.removeAttrs
(lib.mapAttrs'
(name: value: {
inherit name;
value = pkgs.callPackage "${self}/packages/${name}" {
@ -52,6 +63,7 @@
})
(lib.filterAttrs
(_: type: type == "directory")
(builtins.readDir "${self}/packages"));
(builtins.readDir "${self}/packages")))
config.fleet.brokenPackages.${system};
};
}