Commit b6b34930 authored by aucub's avatar aucub
Browse files

linux-wallpaperengine: disable aarch64-linux build on hydra

parent 81859204
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@
  systemd,
  libdecor,
  autoPatchelfHook,
  makeWrapper,
}:
let
  rpath = lib.makeLibraryPath [
@@ -113,7 +112,7 @@ let
      runHook preInstall

      cp -r . $out
      chmod +w -R $out
      chmod -R +w $out
      patchelf $out/${buildType}/libcef.so --set-rpath "${rpath}" --add-needed libudev.so
      patchelf $out/${buildType}/libGLESv2.so --set-rpath "${rpath}" --add-needed libGL.so.1
      patchelf $out/${buildType}/chrome-sandbox --set-interpreter $(cat $NIX_BINTOOLS/nix-support/dynamic-linker)
@@ -131,6 +130,7 @@ let
        "x86_64-linux"
        "aarch64-linux"
      ];
      hydraPlatforms = [ "x86_64-linux" ]; # Hydra "aarch64-linux" fails with "Output limit exceeded"
    };
  };
in
@@ -149,7 +149,6 @@ stdenv.mkDerivation rec {
    cmake
    pkg-config
    autoPatchelfHook
    makeWrapper
  ];

  buildInputs = [
@@ -180,14 +179,14 @@ stdenv.mkDerivation rec {
  cmakeFlags = [
    "-DCMAKE_BUILD_TYPE=${buildType}"
    "-DCEF_ROOT=${cef-bin}"
    "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/linux-wallpaperengine"
    "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/app/linux-wallpaperengine"
  ];

  preFixup = ''
    patchelf --set-rpath "${lib.makeLibraryPath buildInputs}:${cef-bin}" $out/linux-wallpaperengine/linux-wallpaperengine
    chmod 755 $out/linux-wallpaperengine/linux-wallpaperengine
    patchelf --set-rpath "${lib.makeLibraryPath buildInputs}:${cef-bin}" $out/app/linux-wallpaperengine/linux-wallpaperengine
    chmod 755 $out/app/linux-wallpaperengine/linux-wallpaperengine
    mkdir $out/bin
    makeWrapper $out/linux-wallpaperengine/linux-wallpaperengine $out/bin/linux-wallpaperengine
    ln -s $out/app/linux-wallpaperengine/linux-wallpaperengine $out/bin/linux-wallpaperengine
  '';

  meta = {
@@ -200,5 +199,6 @@ stdenv.mkDerivation rec {
      "x86_64-linux"
      "aarch64-linux"
    ];
    hydraPlatforms = [ "x86_64-linux" ]; # Hydra "aarch64-linux" fails with "Output limit exceeded"
  };
}