Commit 08790dff authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

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
parent efd6331c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: {