1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 12:36:01 +01:00

Formatting

This commit is contained in:
Eelco Dolstra 2025-06-12 16:13:28 +02:00
parent 6477d7c2ca
commit 279a6b18db
3 changed files with 6 additions and 8 deletions

View file

@ -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.

View file

@ -79,8 +79,7 @@ StorePath EvalState::mountInput(
std::optional<Hash> _narHash;
auto getNarHash = [&]()
{
auto getNarHash = [&]() {
if (!_narHash) {
if (store->isValidPath(storePath))
_narHash = store->queryPathInfo(storePath)->narHash;

View file

@ -28,7 +28,7 @@
test-daemon ? null,
# Whether to run tests with lazy trees enabled.
lazyTrees ? false
lazyTrees ? false,
}:
let