qt6Packages: fix mistake

This commit is contained in:
Artturin 2023-11-24 16:35:29 +02:00
parent 9db4a298dc
commit bd8f78d18c
2 changed files with 4 additions and 4 deletions

View file

@ -24665,7 +24665,7 @@ with pkgs;
qt6 = recurseIntoAttrs (callPackage ../development/libraries/qt-6 { });
qt6Packages = recurseIntoAttrs (import ./qt6-packages.nix {
inherit lib __splicedPackages makeScopeWithSplicing' generateSplicesForMkScope pkgsBuildHost;
inherit lib __splicedPackages makeScopeWithSplicing' generateSplicesForMkScope pkgsHostTarget;
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
});

View file

@ -9,15 +9,15 @@
, makeScopeWithSplicing'
, generateSplicesForMkScope
, stdenv
, pkgsBuildHost
, pkgsHostTarget
}:
let
pkgs = __splicedPackages;
# qt6 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
# 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.qt6Packages.qtbase' should not have a `__spliced` but if qt6 is pre-spliced then it will have one.
# pkgsBuildHost == pkgs
qt6 = pkgsBuildHost.qt6;
# pkgsHostTarget == pkgs
qt6 = pkgsHostTarget.qt6;
in
makeScopeWithSplicing' {