From 8ba5444c6b1acf8712d3a65bf6705955a584e26f Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Wed, 13 May 2026 21:13:12 +0200 Subject: [PATCH] fix(nix): switch to KF6 ECM The override can be removed after https://github.com/NixOS/nixpkgs/pull/518987 reaches nixos-unstable See https://github.com/NixOS/nixpkgs/pull/513691 Signed-off-by: Sefa Eyeoglu --- nix/unwrapped.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nix/unwrapped.nix b/nix/unwrapped.nix index 478eb7b3e..829a4843c 100644 --- a/nix/unwrapped.nix +++ b/nix/unwrapped.nix @@ -3,12 +3,12 @@ stdenv, cmake, cmark, - extra-cmake-modules, gamemode, jdk17, kdePackages, libnbtplusplus, ninja, + pkg-config, qrencode, self, stripJavaArchivesHook, @@ -35,6 +35,13 @@ let ] else "unknown"; + + # Remove once https://github.com/NixOS/nixpkgs/pull/518987 lands + extra-cmake-modules = kdePackages.extra-cmake-modules.overrideAttrs (prevAttrs: { + meta = prevAttrs.meta // { + platforms = lib.platforms.all; + }; + }); in stdenv.mkDerivation { @@ -65,6 +72,7 @@ stdenv.mkDerivation { cmake ninja extra-cmake-modules + pkg-config jdk17 stripJavaArchivesHook ];