mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
d5ffc94f33
this makes the files in question a bit more independent of source location. to find where the value is set and how it's wired up: rg nix=doc/manual
10 lines
279 B
Nix
10 lines
279 B
Nix
with builtins;
|
|
with import <nix/utils.nix>;
|
|
|
|
let
|
|
showExperimentalFeature = name: doc:
|
|
''
|
|
- [`${name}`](@docroot@/contributing/experimental-features.md#xp-feature-${name})
|
|
'';
|
|
in xps: indent " " (concatStrings (attrValues (mapAttrs showExperimentalFeature xps)))
|