mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
nixos/tests/os-prober.nix: apply review suggestions
This commit is contained in:
parent
04c9866b6e
commit
9a69fab1e3
1 changed files with 5 additions and 7 deletions
|
@ -51,8 +51,7 @@ let
|
||||||
options = [ "ro" ];
|
options = [ "ro" ];
|
||||||
};
|
};
|
||||||
nix.binaryCaches = lib.mkForce [ ];
|
nix.binaryCaches = lib.mkForce [ ];
|
||||||
nix.extraOptions =
|
nix.extraOptions = ''
|
||||||
''
|
|
||||||
hashed-mirrors =
|
hashed-mirrors =
|
||||||
connect-timeout = 1
|
connect-timeout = 1
|
||||||
'';
|
'';
|
||||||
|
@ -66,8 +65,7 @@ let
|
||||||
<nixpkgs/nixos/modules/testing/test-instrumentation.nix>
|
<nixpkgs/nixos/modules/testing/test-instrumentation.nix>
|
||||||
];
|
];
|
||||||
} // (builtins.fromJSON (builtins.readFile ${
|
} // (builtins.fromJSON (builtins.readFile ${
|
||||||
pkgs.writeText "simpleConfig.json"
|
pkgs.writeText "simpleConfig.json" (builtins.toJSON simpleConfig)
|
||||||
(builtins.toJSON simpleConfig)
|
|
||||||
})))
|
})))
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue