theft: fix the static build (#398944)

This commit is contained in:
isabel
2025-04-23 16:30:55 +01:00
committed by GitHub
+5
View File
@@ -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;