diff --git a/.dockerignore b/.dockerignore index 36d243d51f..0b51345cbd 100644 --- a/.dockerignore +++ b/.dockerignore @@ -11,7 +11,6 @@ !Cargo.lock !Cargo.toml !build_rust.py -!extra_config.cfg rust/target synapse/*.so diff --git a/pyproject.toml b/pyproject.toml index 1aec00d4ac..c9f0aeb8ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -392,7 +392,7 @@ skip = "cp36* cp37* cp38* pp37* pp38* *-musllinux_i686 pp*aarch64 *-musllinux_aa # We need a rust compiler before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y --profile minimal" -environment = { PATH = "$PATH:$HOME/.cargo/bin", DIST_EXTRA_CONFIG = "/project/extra_config.cfg" } +environment = { PATH = "$PATH:$HOME/.cargo/bin", DIST_EXTRA_CONFIG = "$(pwd)/extra_config.cfg" } # For some reason if we don't manually clean the build directory we # can end up polluting the next build with a .so that is for the wrong