From 697953f44e9852f0bdb8187c8c75ec9e4db846be Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 12 Oct 2025 12:26:53 +0100 Subject: Add cargo home --- debian/cargo_home/config.toml | 7 +++++++ debian/rules | 1 + 2 files changed, 8 insertions(+) create mode 100644 debian/cargo_home/config.toml diff --git a/debian/cargo_home/config.toml b/debian/cargo_home/config.toml new file mode 100644 index 0000000..8925f1f --- /dev/null +++ b/debian/cargo_home/config.toml @@ -0,0 +1,7 @@ +[source] + +[source.mirror] +directory = "/usr/share/cargo/registry/" + +[source.crates-io] +replace-with = "mirror" diff --git a/debian/rules b/debian/rules index 7322dce..0824358 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f export PYBUILD_NAME=slidge-style-parser +export CARGO_HOME=$(shell pwd)/debian/cargo_home %: dh $@ --buildsystem=pybuild -- cgit v1.2.3