From 279a6b18dba633a63afd69c8917833845db0c204 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 12 Jun 2025 16:13:28 +0200 Subject: [PATCH] Formatting --- flake.nix | 9 ++++----- src/libexpr/paths.cc | 3 +-- tests/functional/package.nix | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 451068f5d..0207134cd 100644 --- a/flake.nix +++ b/flake.nix @@ -220,11 +220,10 @@ ''; repl-completion = nixpkgsFor.${system}.native.callPackage ./tests/repl-completion.nix { }; - lazyTrees = - nixpkgsFor.${system}.native.nixComponents2.nix-functional-tests.override { - pname = "nix-lazy-trees-tests"; - lazyTrees = true; - }; + lazyTrees = nixpkgsFor.${system}.native.nixComponents2.nix-functional-tests.override { + pname = "nix-lazy-trees-tests"; + lazyTrees = true; + }; /** Checks for our packaging expressions. diff --git a/src/libexpr/paths.cc b/src/libexpr/paths.cc index bdf817e3b..65b8212e1 100644 --- a/src/libexpr/paths.cc +++ b/src/libexpr/paths.cc @@ -79,8 +79,7 @@ StorePath EvalState::mountInput( std::optional _narHash; - auto getNarHash = [&]() - { + auto getNarHash = [&]() { if (!_narHash) { if (store->isValidPath(storePath)) _narHash = store->queryPathInfo(storePath)->narHash; diff --git a/tests/functional/package.nix b/tests/functional/package.nix index 3185cdf9a..799026ebe 100644 --- a/tests/functional/package.nix +++ b/tests/functional/package.nix @@ -28,7 +28,7 @@ test-daemon ? null, # Whether to run tests with lazy trees enabled. - lazyTrees ? false + lazyTrees ? false, }: let