{ sandbox ? true, mode }: with import ./config.nix; mkDerivation ( { name = "ssl-export"; buildCommand = '' # Add some indirection, otherwise grepping into the debug output finds the string. report () { echo CERT_$1_IN_SANDBOX; } ${if sandbox then '' # This depends on a proper sandbox otherwise the path may be the outside-of-the-builder's one. if [ -f /etc/ssl/certs/ca-certificates.crt ]; then content=$(