Error when cross-compiling Nim with mingw

2022-09-01 Thread cyraxjoe
This is a problem that apparently is caused by a local [patch](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/nim/nixbuild.patch) that the NixOS devs are applying to nim. >From a high-level view, it seems that the patch is trying to call `getEnv` >while trying to resolv

Error when cross-compiling Nim with mingw

2022-09-01 Thread Nlits
I get this error: /nix/store/ap7nr6hb3q9zhphcy2s2bmxvvv g1yzcq-nim-unwrapped-1.4.8/nim/lib/pu re/dynlib.nim(110, 25) Error: undecla red identifier: "getEnv' This might be caused by a recursive m odule dependency: /nix/store/ap7nr6hb3q9zhphcy2s2bmxvvV g1