[Optimizations] do not override dependencies which are runtime replaced anyway

This commit is contained in:
Antoine Viallon 2024-05-02 16:30:28 +02:00
parent 569fcfee68
commit 14c85b4e90
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -101,6 +101,11 @@ in {
};
config = mkIf cfg.enable {
aviallon.optimizations.blacklist = mkDefault (
options.aviallon.optimizations.blacklist.default
++ (traceValSeq (forEach config.system.replaceRuntimeDependencies (x: lib.getName x.oldDependency )))
);
nixpkgs.overlays = mkAfter [
(self: super: {
fastStdenv = super.overrideCC super.gccStdenv (super.buildPackages.gcc_latest.overrideAttrs (old: