diff --git a/hacking/nix/rust-utils/build-crates-in-layers.nix b/hacking/nix/rust-utils/build-crates-in-layers.nix index 3070a0fe9..9b21b046c 100644 --- a/hacking/nix/rust-utils/build-crates-in-layers.nix +++ b/hacking/nix/rust-utils/build-crates-in-layers.nix @@ -15,15 +15,16 @@ let defaultStdenv = stdenv; +in + +let + inherit (scopeConfig) runClippyDefault; # TODO not actually resulting in errors denyWarningsDefault = # true false ; - - inherit (scopeConfig) runClippyDefault; - in { stdenv ? defaultStdenv