Unverified Commit 755ef5b7 authored by Andrea Ciceri's avatar Andrea Ciceri
Browse files

zmkBATx: fix build by using simpleBluez 0.7.3

parent bf7552d8
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -8,6 +8,18 @@
  simpleBluez,
  simpledbus,
}:
let
  # zmkBATx is incompatible against the new ABI
  simpleBluez' = simpleBluez.overrideAttrs rec {
    version = "0.7.3";
    src = fetchFromGitHub {
      owner = "OpenBluetoothToolbox";
      repo = "SimpleBLE";
      rev = "v${version}";
      hash = "sha256-CPBdPnBeQ0c3VjSX0Op6nCHF3w0MdXGULbk1aavr+LM=";
    };
  };
in
stdenv.mkDerivation (finalAttrs: {
  pname = "zmkBATx";

@@ -30,8 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
    qt6.qtbase
    qt6.qtconnectivity
    dbus.lib
    simpleBluez
    simpledbus
    simpleBluez'
  ];

  postPatch = ''