Skip to content

Instantly share code, notes, and snippets.

@enthus1ast
Created November 3, 2019 12:46
Show Gist options
  • Save enthus1ast/e487aec1d08b7c4822a48a3711f27cdf to your computer and use it in GitHub Desktop.
Save enthus1ast/e487aec1d08b7c4822a48a3711f27cdf to your computer and use it in GitHub Desktop.
import distros
for dist in Distribution:
echo dist, detectOs(dist)
distrost.nim(53, 22) template/generic instantiation of `detectOs` from here
distros.nim(184, 28) Error: undeclared field: 'dist'
found 'dist' of kind 'forvar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment