mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02: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
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)))
|