mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
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
9 lines
279 B
Nix
9 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)))
|