xorg.libAppleWM: constrain to darwin targets

Without the change the build fails on `x86_64-linux` as
https://hydra.nixos.org/build/276690936:

    make[2]: Entering directory '/build/libapplewm-be972ebc3a97292e7d2b2350eff55ae12df99a42/src'
      CC       applewm.lo
    gcc: error: unrecognized command-line option '-iframeworkwithsysroot'

ZHF: #352882
This commit is contained in:
Sergei Trofimovich 2024-11-04 09:46:31 +00:00
parent efd6331c95
commit 08790dff79

View File

@ -171,6 +171,9 @@ self: super:
libAppleWM = super.libAppleWM.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ];
buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ];
meta = attrs.meta // {
platforms = lib.platforms.darwin;
};
});
libXau = super.libXau.overrideAttrs (attrs: {