Remove llm-workflow-engine
derivation fro aarch64-linux
This commit is contained in:
parent
09e977cc18
commit
30ca703476
1 changed files with 45 additions and 33 deletions
|
@ -5,27 +5,37 @@
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.fleet.overlays = let
|
options.fleet = {
|
||||||
overlayType = lib.mkOptionType {
|
overlays = let
|
||||||
name = "nixpkgs-overlay";
|
overlayType = lib.mkOptionType {
|
||||||
description = "nixpkgs overlay";
|
name = "nixpkgs-overlay";
|
||||||
check = lib.isFunction;
|
description = "nixpkgs overlay";
|
||||||
merge = lib.mergeOneOption;
|
check = lib.isFunction;
|
||||||
};
|
merge = lib.mergeOneOption;
|
||||||
in
|
};
|
||||||
lib.mkOption {
|
in
|
||||||
description = "Nixpkgs overlays to apply at flake level (not in hosts)";
|
lib.mkOption {
|
||||||
type = lib.types.listOf overlayType;
|
description = "Nixpkgs overlays to apply at flake level (not in hosts)";
|
||||||
default = with inputs; [
|
type = lib.types.listOf overlayType;
|
||||||
agenix.overlays.default
|
default = with inputs; [
|
||||||
nur.overlay
|
agenix.overlays.default
|
||||||
(final: _: {
|
nur.overlay
|
||||||
inherit (disko.packages.${final.system}) disko;
|
(final: _: {
|
||||||
inherit (self.packages.${final.system}) deploy;
|
inherit (disko.packages.${final.system}) disko;
|
||||||
inherit (self.packages.${final.system}) llm-workflow-engine;
|
inherit (self.packages.${final.system}) deploy;
|
||||||
})
|
inherit (self.packages.${final.system}) llm-workflow-engine;
|
||||||
];
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
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,18 +50,20 @@
|
||||||
config.fleet.overlays;
|
config.fleet.overlays;
|
||||||
|
|
||||||
packages =
|
packages =
|
||||||
lib.mapAttrs'
|
builtins.removeAttrs
|
||||||
(name: value: {
|
(lib.mapAttrs'
|
||||||
inherit name;
|
(name: value: {
|
||||||
value = pkgs.callPackage "${self}/packages/${name}" {
|
inherit name;
|
||||||
pkgsStable = inputs.nixpkgsStable.legacyPackages.${system};
|
value = pkgs.callPackage "${self}/packages/${name}" {
|
||||||
dream2nix = inputs.dream2nix;
|
pkgsStable = inputs.nixpkgsStable.legacyPackages.${system};
|
||||||
projectRoot = self.outPath;
|
dream2nix = inputs.dream2nix;
|
||||||
packagePath = "packages/${name}";
|
projectRoot = self.outPath;
|
||||||
};
|
packagePath = "packages/${name}";
|
||||||
})
|
};
|
||||||
(lib.filterAttrs
|
})
|
||||||
(_: type: type == "directory")
|
(lib.filterAttrs
|
||||||
(builtins.readDir "${self}/packages"));
|
(_: type: type == "directory")
|
||||||
|
(builtins.readDir "${self}/packages")))
|
||||||
|
config.fleet.brokenPackages.${system};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue