2024-12-11 11:42:40 -05:00
|
|
|
self: {nix ? null}: final: prev: let
|
|
|
|
inherit (builtins) mapAttrs;
|
|
|
|
inherit (self.inputs) nix-eval-jobs nix-fast-build;
|
|
|
|
|
|
|
|
nullCheck = n: v:
|
|
|
|
if nix == null
|
|
|
|
then prev.${n}
|
|
|
|
else v;
|
|
|
|
in
|
|
|
|
mapAttrs nullCheck {
|
|
|
|
inherit nix;
|
|
|
|
|
|
|
|
nix-serve = prev.nix-serve-ng.override {
|
2024-12-10 22:28:26 -05:00
|
|
|
inherit nix;
|
2024-12-11 11:42:40 -05:00
|
|
|
};
|
2024-12-10 22:28:26 -05:00
|
|
|
|
2024-12-11 11:42:40 -05:00
|
|
|
nix-fast-build = nix-fast-build.packages.${final.system}.nix-fast-build.override {
|
|
|
|
nix-eval-jobs =
|
|
|
|
nix-eval-jobs.packages.${final.system}.default.override {
|
|
|
|
inherit nix;
|
|
|
|
}
|
|
|
|
// {
|
|
|
|
inherit nix;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|