qt6.qtbase: derive plugin load path from PATH
This commit is contained in:
parent
53ad6fd1b4
commit
da08600073
@ -11,11 +11,9 @@
|
||||
, lndir
|
||||
, perl
|
||||
, pkg-config
|
||||
, python3
|
||||
, which
|
||||
, cmake
|
||||
, ninja
|
||||
, ccache
|
||||
, xmlstarlet
|
||||
, libproxy
|
||||
, xorg
|
||||
@ -236,11 +234,13 @@ stdenv.mkDerivation rec {
|
||||
"-DQT_FEATURE_cxx17_filesystem=OFF"
|
||||
] ++ lib.optional (qttranslations != null) "-DINSTALL_TRANSLATIONSDIR=${qttranslations}/translations";
|
||||
|
||||
NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [
|
||||
env.NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [
|
||||
# Undefined symbols for architecture arm64: "___gss_c_nt_hostbased_service_oid_desc"
|
||||
"-framework GSS"
|
||||
]);
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-DNIXPKGS_QT_PLUGIN_PREFIX=\"${qtPluginPrefix}\"";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
moveToDev = false;
|
||||
|
Loading…
Reference in New Issue
Block a user