build: Replace missing crates.io dependency with Purism-hosted one

This commit is contained in:
Dorota Czaplejewicz
2022-04-04 16:56:28 +00:00
parent b5142ac765
commit d19050e06d
6 changed files with 18 additions and 7 deletions

1
debian/cargo/config vendored
View File

@ -9,4 +9,3 @@ replace-with = 'vendored-sources'
[source.vendored-sources]
directory = '/usr/share/cargo/registry'

2
debian/rules vendored
View File

@ -38,6 +38,6 @@ endif
# causing Cargo to refuse to build with a crates.io copy
override_dh_auto_configure:
[ ! -f Cargo.lock ] || rm Cargo.lock
dh_auto_configure -- -Dnewer=$(newer)
dh_auto_configure -- -Dnewer=$(newer) -Donline=false
override_dh_autoreconf: