# Project-local environment configuration for klab/sgoyol
# This file extends the main provisioning environment with project-specific settings

export-env {
    # Add project-specific paths to NU_LIB_DIRS if needed
    # Example: add local nulib directory if it exists
    let local_nulib = ($env.PWD | path join "nulib")
    if ($local_nulib | path exists) {
        $env.NU_LIB_DIRS = ($env.NU_LIB_DIRS? | default [] | append $local_nulib | uniq)
    }

    # Project-specific KCL paths
    # The kcl.mod file already handles dependencies, but this can extend KCL_MOD_PATH if needed
    $env.KCL_MOD_PATH = ($env.KCL_MOD_PATH? | default "" | split row ":" | append $env.PWD | uniq | str join ":")

    # Project-specific environment variables
    $env.PROVISIONING_PROJECT = "sgoyol"
    $env.PROVISIONING_PROJECT_PATH = $env.PWD

    # Add any project-specific settings here
    # $env.SGOYOL_SPECIFIC_VAR = "value"
}