mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
krita: refactor to fix build on aarch64 (#45906)
An optional dependency, Vc, doesn't currently provide any optimisations on aarch64 and causes a build failure in krita. Exclude it from the build inputs on arm and aarch64.
This commit is contained in:
parent
0e7ba35ddc
commit
ef21e949a0
@ -1,4 +1,4 @@
|
||||
{ mkDerivation, lib, fetchurl, cmake, extra-cmake-modules
|
||||
{ mkDerivation, lib, stdenv, fetchurl, cmake, extra-cmake-modules
|
||||
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
|
||||
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
|
||||
, kio, kcrash
|
||||
@ -23,10 +23,10 @@ mkDerivation rec {
|
||||
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
|
||||
ki18n kitemmodels kitemviews kwindowsystem kio kcrash
|
||||
boost libraw fftw eigen exiv2 lcms2 gsl openexr libheif giflib
|
||||
openjpeg opencolorio vc poppler_qt5 curl ilmbase
|
||||
openjpeg opencolorio poppler_qt5 curl ilmbase
|
||||
qtmultimedia qtx11extras
|
||||
python3
|
||||
];
|
||||
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user