Commit 84b8b952 authored by Artturin's avatar Artturin Committed by Adam Joseph
Browse files

libsForQt5: Remove incorrect override attributes

Remove attributes which are coming from the sets which are added `//`,
they weren't working correctly.

Same thing is done in `llvmPackages`
parent 99c89117
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ makeScopeWithSplicing' {
    };
  in (lib.makeOverridable mkMaui attrs);

in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGear // mauiPackages // qt5 // ({
  noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ];

in (noExtraAttrs (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGear // mauiPackages // qt5 // {

  inherit kdeFrameworks plasmaMobileGear plasma5 kdeGear mauiPackages qt5;

@@ -256,9 +258,9 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
  xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { };

  yuview = callPackage ../applications/video/yuview { };
} // lib.optionalAttrs pkgs.config.allowAliases {
}) // lib.optionalAttrs pkgs.config.allowAliases {
  # remove after 23.11 branch-off and backport removal to 23.11
  # 23.11 will have a warning for this in `makeScope` itself
  overrideScope' = lib.warn "libsForQt5 now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\"." self.overrideScope;
})));
}));
}