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 <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2026-05-13 21:13:12 +02:00
parent 8a7b17f958
commit 8ba5444c6b
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -3,12 +3,12 @@
stdenv, stdenv,
cmake, cmake,
cmark, cmark,
extra-cmake-modules,
gamemode, gamemode,
jdk17, jdk17,
kdePackages, kdePackages,
libnbtplusplus, libnbtplusplus,
ninja, ninja,
pkg-config,
qrencode, qrencode,
self, self,
stripJavaArchivesHook, stripJavaArchivesHook,
@ -35,6 +35,13 @@ let
] ]
else else
"unknown"; "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 in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -65,6 +72,7 @@ stdenv.mkDerivation {
cmake cmake
ninja ninja
extra-cmake-modules extra-cmake-modules
pkg-config
jdk17 jdk17
stripJavaArchivesHook stripJavaArchivesHook
]; ];