Skip to content

conf: .path with var and parentDir results in wrong path #25232

@litlighilit

Description

@litlighilit

Nim Version

2.3.1
2.*

Description

e.g.,

If in nim.cfg, using

gcc.path = $nim/../../xxx

Then it just always became ../xxx

Current Output


Expected Output


Known Workarounds

No response

Additional Information

It's because in extccomp.nim, joinPath was called before strutils.`%`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions