Skip to content

Commit

Permalink
Merge pull request #222928 from jtojnar/qt-nowarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Mar 24, 2023
2 parents 158c76b + 7c4188a commit acbebae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/libraries/qt-5/5.15/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Check for any minor version changes.
, developerBuild ? false
, decryptSslTraffic ? false
, debug ? false
, config
}:

let
Expand Down Expand Up @@ -119,9 +120,6 @@ let
callPackage = self.newScope { inherit qtCompatVersion qtModule srcs stdenv; };
in {

# remove before 23.11
overrideScope' = lib.warn "qt5 now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\"." self.overrideScope;

inherit callPackage qtCompatVersion qtModule srcs;

mkDerivationWith =
Expand Down Expand Up @@ -226,6 +224,9 @@ let
propagatedBuildInputs = [ self.qtbase.dev buildPackages.makeWrapper ]
++ lib.optional stdenv.isLinux self.qtwayland.dev;
} ../hooks/wrap-qt-apps-hook.sh;
} // lib.optionalAttrs config.allowAliases {
# remove before 23.11
overrideScope' = lib.warn "qt5 now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\"." self.overrideScope;
};

in makeScopeWithSplicing (generateSplicesForMkScope "qt5") (_: {}) (_: {}) addPackages
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23171,6 +23171,7 @@ with pkgs;
bison cups dconf harfbuzz libGL perl gtk3 python3
darwin buildPackages;
inherit (__splicedPackages.gst_all_1) gstreamer gst-plugins-base;
inherit config;
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
});

Expand Down

0 comments on commit acbebae

Please sign in to comment.