mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
kwin: force gcc12Stdenv on aarch64
This commit is contained in:
parent
0a1a4be75e
commit
06ca9b6bd8
@ -57,6 +57,7 @@
|
|||||||
, plasma-framework
|
, plasma-framework
|
||||||
, libqaccessibilityclient
|
, libqaccessibilityclient
|
||||||
, python3
|
, python3
|
||||||
|
, gcc12Stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# TODO (ttuegel): investigate qmlplugindump failure
|
# TODO (ttuegel): investigate qmlplugindump failure
|
||||||
@ -144,9 +145,13 @@ mkDerivation {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
stdenv = if stdenv.isAarch64 then gcc12Stdenv else stdenv;
|
||||||
|
|
||||||
CXXFLAGS = [
|
CXXFLAGS = [
|
||||||
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
||||||
];
|
]
|
||||||
|
++ lib.optional stdenv.isAarch64 "-mno-outline-atomics";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Some package(s) refer to these service types by the wrong name.
|
# Some package(s) refer to these service types by the wrong name.
|
||||||
# I would prefer to patch those packages, but I cannot find them!
|
# I would prefer to patch those packages, but I cannot find them!
|
||||||
|
Loading…
Reference in New Issue
Block a user