kwin: drop gcc12stdenv on aarch64 hack

This commit is contained in:
K900 2023-03-06 17:04:16 +03:00
parent a5961d9534
commit 62d6cdcf99
2 changed files with 2 additions and 7 deletions

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;
});
};

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.