---
feature: standardize-magic-properties
start-date: 2022-05-26
author: Anselm Schüler
co-authors: None
shepherd-team: None
shepherd-leader: None
related-issues: None
---
# Summary
[summary]: #summary
Rename attrset attribute names treated specially by Nix to start with a double underscore.
Add a builtin function `guardMagic` that returns `null` for double underscore prefixed strings.
# Motivation
[motivation]: #motivation
Nix treats many attributes specially with unique behaviours. Some of these are prefixed with double underscores to disambiguate them from everything else. But some arenāt: `recurseForDerivations` isnāt, `type`, when set to `"derivation"`, changes visual output.
This file has been truncated. show original