Merge pull request #219837 from K900/drop-kwin-stdenv-hack

kwin: drop gcc12stdenv on aarch64 hack
This commit is contained in:
K900
2023-03-06 17:05:25 +03:00
committed by GitHub
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ let
broken = meta.broken or broken;
};
in
(args.stdenv or qtStdenv).mkDerivation (args // {
qtStdenv.mkDerivation (args // {
inherit pname version meta outputs setupHook src nativeBuildInputs;
});
};
+1 -6
View File
@@ -1,5 +1,4 @@
{ mkDerivation
, stdenv
, lib
, extra-cmake-modules
, kdoctools
@@ -57,7 +56,6 @@
, plasma-framework
, libqaccessibilityclient
, python3
, gcc12Stdenv
}:
# TODO (ttuegel): investigate qmlplugindump failure
@@ -145,12 +143,9 @@ mkDerivation {
})
];
stdenv = if stdenv.isAarch64 then gcc12Stdenv else stdenv;
CXXFLAGS = [
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
]
++ lib.optional stdenv.isAarch64 "-mno-outline-atomics";
];
postInstall = ''
# Some package(s) refer to these service types by the wrong name.