summary refs log tree commit diff
path: root/lib/fileset
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-08 23:28:25 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-08 23:28:25 +0100
commit2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e (patch)
tree7a7af9e84950e3d7b6052a8565afe59c25f23dd3 /lib/fileset
parent4e4bbb01ebfa4a1ce322f036007ec4d653071523 (diff)
downloadnixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar.gz
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar.bz2
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar.lz
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar.xz
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.tar.zst
nixpkgs-2d28e0cd109dc9f04d2ab0d8ac90395feb2acb3e.zip
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
Diffstat (limited to 'lib/fileset')
-rw-r--r--lib/fileset/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/fileset/default.nix b/lib/fileset/default.nix
index 4a97633b4a8..547809cf063 100644
--- a/lib/fileset/default.nix
+++ b/lib/fileset/default.nix
@@ -122,11 +122,10 @@ in {
       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.
 
-<!-- Ignore the indentation here, this is a nixdoc rendering bug that needs to be fixed: https://github.com/nix-community/nixdoc/issues/75 -->
-:::{.note}
-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.
-:::
+      :::{.note}
+      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.
+      :::
     */
     root,
     /*
@@ -135,10 +134,9 @@ The only way to change which files get added to the store is by changing the `fi
       This argument can also be a path,
       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}
-If a directory does not recursively contain any file, it is omitted from the store path contents.
-:::
+      :::{.note}
+      If a directory does not recursively contain any file, it is omitted from the store path contents.
+      :::
 
     */
     fileset,