qt5: use llvm5 for all modules
This avoids some issues encountered with qt5 not working libcxx 7. We can remove this at some point when qt5 has addressed all of their issues.
This commit is contained in:
parent
29cdd08e8e
commit
c1f1a0ea15
@ -20,7 +20,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
|||||||
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
||||||
bison, cups ? null, harfbuzz, libGL, perl,
|
bison, cups ? null, harfbuzz, libGL, perl,
|
||||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||||
cf-private,
|
cf-private, llvmPackages_5,
|
||||||
|
|
||||||
# options
|
# options
|
||||||
developerBuild ? false,
|
developerBuild ? false,
|
||||||
@ -65,8 +65,10 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
mkDerivation =
|
mkDerivation =
|
||||||
import ../mkDerivation.nix
|
import ../mkDerivation.nix {
|
||||||
{ inherit stdenv; inherit (stdenv) lib; }
|
inherit (stdenv) lib;
|
||||||
|
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
|
||||||
|
}
|
||||||
{ inherit debug; };
|
{ inherit debug; };
|
||||||
|
|
||||||
qtModule =
|
qtModule =
|
||||||
|
@ -20,7 +20,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
|||||||
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
||||||
bison, cups ? null, harfbuzz, libGL, perl,
|
bison, cups ? null, harfbuzz, libGL, perl,
|
||||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||||
cf-private,
|
cf-private, llvmPackages_5,
|
||||||
|
|
||||||
# options
|
# options
|
||||||
developerBuild ? false,
|
developerBuild ? false,
|
||||||
@ -69,8 +69,10 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
mkDerivation =
|
mkDerivation =
|
||||||
import ../mkDerivation.nix
|
import ../mkDerivation.nix {
|
||||||
{ inherit stdenv; inherit (stdenv) lib; }
|
inherit (stdenv) lib;
|
||||||
|
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
|
||||||
|
}
|
||||||
{ inherit debug; };
|
{ inherit debug; };
|
||||||
|
|
||||||
qtModule =
|
qtModule =
|
||||||
|
@ -12500,6 +12500,7 @@ in
|
|||||||
inherit gtk3;
|
inherit gtk3;
|
||||||
inherit (gnome3) dconf;
|
inherit (gnome3) dconf;
|
||||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||||
|
inherit llvmPackages_5;
|
||||||
});
|
});
|
||||||
|
|
||||||
libsForQt511 = recurseIntoAttrs (lib.makeScope qt511.newScope mkLibsForQt5);
|
libsForQt511 = recurseIntoAttrs (lib.makeScope qt511.newScope mkLibsForQt5);
|
||||||
@ -12517,6 +12518,7 @@ in
|
|||||||
inherit gtk3;
|
inherit gtk3;
|
||||||
inherit (gnome3) dconf;
|
inherit (gnome3) dconf;
|
||||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||||
|
inherit llvmPackages_5;
|
||||||
});
|
});
|
||||||
|
|
||||||
libsForQt512 = recurseIntoAttrs (lib.makeScope qt512.newScope mkLibsForQt5);
|
libsForQt512 = recurseIntoAttrs (lib.makeScope qt512.newScope mkLibsForQt5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user