mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 20:46:01 +01:00
Formatting
This commit is contained in:
parent
6477d7c2ca
commit
279a6b18db
3 changed files with 6 additions and 8 deletions
|
|
@ -220,11 +220,10 @@
|
||||||
'';
|
'';
|
||||||
repl-completion = nixpkgsFor.${system}.native.callPackage ./tests/repl-completion.nix { };
|
repl-completion = nixpkgsFor.${system}.native.callPackage ./tests/repl-completion.nix { };
|
||||||
|
|
||||||
lazyTrees =
|
lazyTrees = nixpkgsFor.${system}.native.nixComponents2.nix-functional-tests.override {
|
||||||
nixpkgsFor.${system}.native.nixComponents2.nix-functional-tests.override {
|
pname = "nix-lazy-trees-tests";
|
||||||
pname = "nix-lazy-trees-tests";
|
lazyTrees = true;
|
||||||
lazyTrees = true;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Checks for our packaging expressions.
|
Checks for our packaging expressions.
|
||||||
|
|
|
||||||
|
|
@ -79,8 +79,7 @@ StorePath EvalState::mountInput(
|
||||||
|
|
||||||
std::optional<Hash> _narHash;
|
std::optional<Hash> _narHash;
|
||||||
|
|
||||||
auto getNarHash = [&]()
|
auto getNarHash = [&]() {
|
||||||
{
|
|
||||||
if (!_narHash) {
|
if (!_narHash) {
|
||||||
if (store->isValidPath(storePath))
|
if (store->isValidPath(storePath))
|
||||||
_narHash = store->queryPathInfo(storePath)->narHash;
|
_narHash = store->queryPathInfo(storePath)->narHash;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
test-daemon ? null,
|
test-daemon ? null,
|
||||||
|
|
||||||
# Whether to run tests with lazy trees enabled.
|
# Whether to run tests with lazy trees enabled.
|
||||||
lazyTrees ? false
|
lazyTrees ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue