query
On this page

scrubOptionValue

lib.scrubOptionValue

Docs pulled from | This Revision | 35 minutes ago


This function recursively removes all derivation attributes from x except for the name attribute.

This is to make the generation of options.xml much more efficient: the XML representation of derivations is very large (on the order of megabytes) and is not actually used by the manual generator.

This function was made obsolete by renderOptionValue and is kept for compatibility with out-of-tree code.

Inputs

x

1. Function argument

(lib.options.scrubOptionValue)

Noogle also knows

Aliases