Change-Id: Id953cd257c3831d67531ffa4a131607519361227
Contributes towards #106. (cherry picked from commit 24d11d22c31dd7773cbcef6ea077e62ea114e2a3) Upstream-PR: https://github.com/NixOS/nix/pull/12286 Change-Id: I523c76e31f27fac5d73eff76b22894adcd6ee135