ops/nixos: Attempting to reference depot
module argument fails with an infinite recursion error
#129
Opened by aspen at
See https://cl.tvl.fyi/c/depot/+/3136/1 and its associated build failure
This was happening because NixOS seems to evaluate module arguments in two phases, the "special" arguments and the "normal" module arguments.
Only the "special" arguments can be partially evaluated by the time module imports are resolved, so using this was required to make sure that we can use
depot.path
.See cl/3156 for details.
tazjin at 2021-05-24T21·48+00
- tazjin closed this issue at 2021-05-24T21·48+00