variables: CARGO_HOME: /tmp/cargo CARGO_TARGET_DIR: /tmp/cargo/target build: script: - nix-shell -p rustc cargo --run "sh -c 'set -x; rustc -vV && cargo -vV && cargo build'" test: script: - nix-shell -p cargo --run 'set -x; cargo test'