about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-06-12 13:02:00 +0200
committerNaïm Favier <n@monade.li>2023-06-27 11:48:08 +0200
commit14d3e5685a702c6eb4777eb6ba682324bbf3a187 (patch)
tree4396262bab54843005de87a10214602760eb0ede /nixos
parent2e7efc14f29d4f67eb479349ba2d8e4f6ec4f11f (diff)
lib/types: add pathInStore
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/development/option-types.section.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/option-types.section.md b/nixos/doc/manual/development/option-types.section.md
index 9e156ebff9d3e..44bb3b4782e19 100644
--- a/nixos/doc/manual/development/option-types.section.md
+++ b/nixos/doc/manual/development/option-types.section.md
@@ -20,6 +20,11 @@ merging is handled.
     coerced to a string. Even if derivations can be considered as
     paths, the more specific `types.package` should be preferred.
 
+`types.pathInStore`
+
+:   A path that is contained in the Nix store. This can be a top-level store
+    path like `pkgs.hello` or a descendant like `"${pkgs.hello}/bin/hello"`.
+
 `types.package`
 
 :   A top-level store path. This can be an attribute set pointing