lib.fileset: Remove nixdoc workaround
This problem was fixed in https://github.com/nix-community/nixdoc/pull/81 which is included in version 2.5.1, which is now used in Nixpkgs
This commit is contained in:
@@ -122,7 +122,6 @@ in {
|
|||||||
Paths in [strings](https://nixos.org/manual/nix/stable/language/values.html#type-string), including Nix store paths, cannot be passed as `root`.
|
Paths in [strings](https://nixos.org/manual/nix/stable/language/values.html#type-string), including Nix store paths, cannot be passed as `root`.
|
||||||
`root` has to be a directory.
|
`root` has to be a directory.
|
||||||
|
|
||||||
<!-- Ignore the indentation here, this is a nixdoc rendering bug that needs to be fixed: https://github.com/nix-community/nixdoc/issues/75 -->
|
|
||||||
:::{.note}
|
:::{.note}
|
||||||
Changing `root` only affects the directory structure of the resulting store path, it does not change which files are added to the store.
|
Changing `root` only affects the directory structure of the resulting store path, it does not change which files are added to the store.
|
||||||
The only way to change which files get added to the store is by changing the `fileset` attribute.
|
The only way to change which files get added to the store is by changing the `fileset` attribute.
|
||||||
@@ -135,7 +134,6 @@ The only way to change which files get added to the store is by changing the `fi
|
|||||||
This argument can also be a path,
|
This argument can also be a path,
|
||||||
which gets [implicitly coerced to a file set](#sec-fileset-path-coercion).
|
which gets [implicitly coerced to a file set](#sec-fileset-path-coercion).
|
||||||
|
|
||||||
<!-- Ignore the indentation here, this is a nixdoc rendering bug that needs to be fixed: https://github.com/nix-community/nixdoc/issues/75 -->
|
|
||||||
:::{.note}
|
:::{.note}
|
||||||
If a directory does not recursively contain any file, it is omitted from the store path contents.
|
If a directory does not recursively contain any file, it is omitted from the store path contents.
|
||||||
:::
|
:::
|
||||||
|
|||||||
Reference in New Issue
Block a user