theft: fix the static build

This commit is contained in:
Dmitry Bogatov
2025-04-14 20:00:00 -04:00
parent 0937fe22d8
commit d613352647
+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;