Skip to content

--useSystemNim flag broken #1609

@daylinmorgan

Description

@daylinmorgan

When running 0.22.0 on NixOS I found the --useSystemNim expects the resolved nim binary from findExe to exist in a specific layout, I think based on what the tar.xz from nim-lang is with something like parentDir/bin/nim .

When attempting to corroborate if this was a NixOS specific issue in a container it seemed to also not properly resolve choosenim installs of nim for the same reason that the binary itself is located in ~/.nimble/bin/nim so it sets the dir to ~/.nimble.

let dir = effectivePnim.parentDir.parentDir

related to #1607

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