From a7166cb9a1a05ef0baf8b36de663ee9ba4205b56 Mon Sep 17 00:00:00 2001 From: Nick Spinale Date: Tue, 29 Oct 2024 19:01:09 -0700 Subject: [PATCH] nix: Improve clarity --- hacking/nix/rust-utils/build-crates-in-layers.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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