Unverified Commit 9c3177de authored by isabel's avatar isabel Committed by GitHub
Browse files

theft: fix the static build (#398944)

parents 9e8b47aa d6133526
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
    sha256 = "1n2mkawfl2bpd4pwy3mdzxwlqjjvb5bdrr2x2gldlyqdwbk7qjhd";
  };

  postPatch = ''
    substituteInPlace Makefile \
      --replace "ar -rcs" "${stdenv.cc.targetPrefix}ar -rcs"
  '';

  preConfigure = "patchShebangs ./scripts/mk_bits_lut";

  doCheck = true;