Skip to content

Commit e8323a0

Browse files
committed
buildRustPackage: enable strictDeps
This will improve cross-compiling support by forcing users to specify buildInputs/nativeBuildInputs correctly.
1 parent 10059e4 commit e8323a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkgs/build-support/rust/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ stdenv.mkDerivation (args // {
181181

182182
doCheck = args.doCheck or true;
183183

184+
strictDeps = true;
185+
184186
inherit releaseDir;
185187

186188
installPhase = args.installPhase or ''

0 commit comments

Comments
 (0)