mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
treewide: run nixfmt 1.0.0
This commit is contained in:
@@ -1370,20 +1370,19 @@ This is especially helpful to select tests or specify flags conditionally:
|
||||
|
||||
```nix
|
||||
{
|
||||
disabledTests =
|
||||
[
|
||||
# touches network
|
||||
"download"
|
||||
"update"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.8") [
|
||||
# broken due to python3.8 async changes
|
||||
"async"
|
||||
]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||
# can fail when building with other packages
|
||||
"socket"
|
||||
];
|
||||
disabledTests = [
|
||||
# touches network
|
||||
"download"
|
||||
"update"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.8") [
|
||||
# broken due to python3.8 async changes
|
||||
"async"
|
||||
]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||
# can fail when building with other packages
|
||||
"socket"
|
||||
];
|
||||
}
|
||||
```
|
||||
|
||||
@@ -2029,7 +2028,8 @@ and letting the package requiring the extra add the list to its dependencies
|
||||
{
|
||||
dependencies = [
|
||||
# ...
|
||||
] ++ dask.optional-dependencies.complete;
|
||||
]
|
||||
++ dask.optional-dependencies.complete;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user