diff --git a/debian/rules b/debian/rules index 0e8e3ec6..a5c63017 100755 --- a/debian/rules +++ b/debian/rules @@ -6,4 +6,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --builddirectory=_build --buildsystem=meson +# The Debian version of linked-hash-map doesn't provide any hash, +# causing Cargo to refuse to build with a crates.io copy +build: + rm Cargo.lock + dh $@ --builddirectory=_build --buildsystem=meson + override_dh_autoreconf: