Unverified Commit 8a5c383e authored by rewine's avatar rewine Committed by GitHub
Browse files

ripes: fix build on darwin, move to by-name (#384821)

parents bcebbf00 46b44ca2
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -3,10 +3,8 @@
  stdenv,
  fetchFromGitHub,
  pkg-config,
  qtbase,
  qtsvg,
  qtcharts,
  wrapQtAppsHook,
  qt6,
  cereal,
  cmake,
  python3,
  unstableGitUpdater,
@@ -25,17 +23,24 @@ stdenv.mkDerivation rec {
    hash = "sha256-aNJTM/s4GNhWVXQxK1R/rIN/NmeKglibQZMh8ENjIzo=";
  };

  postPatch = ''
    rm -r external/VSRTL/external/cereal
    substituteInPlace {src/serializers.h,src/io/iobase.h} \
      --replace-fail "VSRTL/external/cereal/include/cereal/cereal.hpp" "cereal/cereal.hpp"
  '';

  nativeBuildInputs = [
    cmake
    pkg-config
    python3
    wrapQtAppsHook
    qt6.wrapQtAppsHook
  ];

  buildInputs = [
    qtbase
    qtsvg
    qtcharts
    cereal
    qt6.qtbase
    qt6.qtsvg
    qt6.qtcharts
  ];

  installPhase =
+0 −2
Original line number Diff line number Diff line
@@ -1404,8 +1404,6 @@ with pkgs;
  py65 = with python3.pkgs; toPythonApplication py65;
  ripes = qt6Packages.callPackage ../applications/emulators/ripes { };
  rmg-wayland = callPackage ../by-name/rm/rmg/package.nix {
    withWayland = true;
  };