logic error in spack platform detection logic
cyrush opened this issue · 0 comments
cyrush commented
right now, if you aren't running on LC (SYS_TYPE env set) or macos (darwin) you will get the error message:
[ERROR: Given path for 'spack_configs_path' does not contain platform directories: ...]
The logic here is wrong:
Line 615 in 92c4cb4
if platform is None
, logic should simply skip trying to find the defaults for that platform.
(I hit this in a docker container)