4 ms·
In fact, a derivation is not even a type. AFAIK it is only informally defined as an attribute set with an attribute type with the value derivation: https://git
by danieldk 6y ago
In fact, a derivation is not even a type. AFAIK it is only informally defined as an attribute set with an attribute type with the value derivation:
https://github.com/NixOS/nixpkgs/blob/2cd8c35c1fdfdb773df7ec1dbe1aa7e1bc33f13d/lib/attrsets.nix#L305 https://github.com/NixOS/nixpkgs/blob/2cd8c35c1fdfdb773df7ec...
I am pretty sure that instantiating a derivation probably requires more attributes. But in the end they are just attribute sets (which is one of the types in Nix besides strings, lists, etc.).