Colin
2ff4df069e
``` • Updated input 'nixpkgs-unpatched': 'github:nixos/nixpkgs/915c0fab841cc88045e00778b8e7fbdbdbd7d1aa' (2023-04-13) → 'github:nixos/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16) • Updated input 'sops-nix': 'github:Mic92/sops-nix/00d5fd73756d424de5263b92235563bc06f2c6e1' (2023-04-11) → 'github:Mic92/sops-nix/de6514f8fe1b3c2b57307569a0898bc4be9ae1c5' (2023-04-17) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/e45cc0138829ad86e7ff17a76acf2d05e781e30a' (2023-04-09) → 'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16) ```
22 lines
734 B
Diff
22 lines
734 B
Diff
diff --git a/pkgs/development/libraries/qt-6/modules/qtbase.nix b/pkgs/development/libraries/qt-6/modules/qtbase.nix
|
|
index e71b0a7613d..72779ac57a5 100644
|
|
--- a/pkgs/development/libraries/qt-6/modules/qtbase.nix
|
|
+++ b/pkgs/development/libraries/qt-6/modules/qtbase.nix
|
|
@@ -5,6 +5,7 @@
|
|
, version
|
|
, coreutils
|
|
, bison
|
|
+, buildPackages
|
|
, flex
|
|
, gdb
|
|
, gperf
|
|
@@ -224,6 +225,8 @@ stdenv.mkDerivation rec {
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
# error: 'path' is unavailable: introduced in macOS 10.15
|
|
"-DQT_FEATURE_cxx17_filesystem=OFF"
|
|
+ ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
|
+ "-DQT_HOST_PATH=${buildPackages.qt6.full}"
|
|
];
|
|
|
|
NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [
|