diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-20 18:00:47 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-06-04 23:41:55 +0300 |
commit | 845ed6342efc552afd6b58d7b4cb37868b5173fa (patch) | |
tree | 61befdc816bd5f24101643cb0f269a59f6ab5580 /pkgs/development/libraries/kde-frameworks | |
parent | e044112c05a4269e72cc2587b0f032463ae8bb3e (diff) |
plasma5Packages.kcoreaddons: add darwin support
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/kcoreaddons.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/kcoreaddons.nix b/pkgs/development/libraries/kde-frameworks/kcoreaddons.nix index fbd671099465..3e0eeec617b6 100644 --- a/pkgs/development/libraries/kde-frameworks/kcoreaddons.nix +++ b/pkgs/development/libraries/kde-frameworks/kcoreaddons.nix @@ -1,5 +1,5 @@ { - mkDerivation, lib, + mkDerivation, lib, stdenv, extra-cmake-modules, qtbase, qttools, shared-mime-info }: @@ -18,4 +18,7 @@ mkDerivation ({ postInstall = '' moveToOutput "mkspecs" "$dev" ''; +} // lib.optionalAttrs stdenv.isDarwin { + # https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/327 + env.NIX_CFLAGS_COMPILE = "-DSOCK_CLOEXEC=0"; }) |