Unverified Commit 1d9b05f2 authored by arcnmx's avatar arcnmx Committed by GitHub
Browse files

_389-ds-base: fix build (#439717)

parent dae16246
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  autoconf,
  automake,
  cargo,
@@ -49,6 +50,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-hRTK9xBu8v8+SGa/3IB8Alh/aGUiRRn2LmYOvXy0Yd4=";
  };

  patches = [
    (fetchpatch {
      # https://github.com/389ds/389-ds-base/pull/6930
      name = "389-ds-base-rustc-1_89.patch";
      url = "https://github.com/389ds/389-ds-base/commit/1701419551c246e9dc21778b118220eeb2258125.patch";
      hash = "sha256-trzY/fDH3rs66DWbWI+PY46tIC9ShuVqspMHqEEKZYA=";
    })
  ];

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit (finalAttrs) src;
    sourceRoot = "${finalAttrs.src.name}/src";