From e15561b491e5ac146a65fd868b4e006676b9eb1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ci=C4=99=C5=BCarkiewicz?= Date: Sun, 17 Sep 2023 00:23:56 -0700 Subject: [PATCH] chore: deny compilation in workspaceTest --- nix/craneBuild.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/craneBuild.nix b/nix/craneBuild.nix index c2bff2a0159..71b624a4b17 100644 --- a/nix/craneBuild.nix +++ b/nix/craneBuild.nix @@ -23,6 +23,8 @@ craneLib.overrideScope' (self: prev: { version = "0.0.1"; cargoArtifacts = self.workspaceBuild; cargoExtraArgs = "--workspace --all-targets --locked"; + + FM_CARGO_DENY_COMPILATION = "1"; }); workspaceTestDoc = self.cargoTest (self.commonArgs // {