Conversation
spago init -> set psgo backend -> spago build failed with error message about $ char code. added it in. maybe some sort of locale issue? i'm in LA area using Ubuntu 20.04 in wsl of windows.
|
Are you building I had a similar issue when I was first working on #76, but I was also trying to sort out version issues ( I'm not sure the specific cause, but I've run into the same issue, and I can also say that doing nix builds (and, IIRC, regular stack builds too?) from https://github.com/jjthiessen/purescript-native/tree/add-flakes seems to work/avoid the issue. |
|
That being said, I did have to do something akin to this PR in my earlier experimentation to get |
|
Hi. I am a beginner at nix so I used stack to build psgo from source |
|
I think I'm going to have to try reproducing this again to see if I can
figure out the cause. I'm too curious now :)
…On Tue., Apr. 19, 2022, 19:06 Jonathan Lim, ***@***.***> wrote:
Hi. I am a beginner at nix so I used stack to build psgo from source
—
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABK27GODBCSEBMIGB27TDH3VF5RDHANCNFSM5TTSEE4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Oh. I was gonna try it from scratch on a digital ocean instance this weekend. Not sure if something was off with using wsl Ubuntu instead of regular Ubuntu |
|
I'll try to provide more detail when I do that. Like go version. Purescript version. Ubuntu version. |
|
I'll work on it now but I don't have much time. |
|
hi, i duplicated the issue with some manual fresh installs: hopefully i will try the nix this weekend sometime but i'm a beginner at nix. maybe there's something different in the versions. |
|
I wasn't able to reproduce the issue earlier with either Stack or Nix builds because I was using PureScript 0.13.8 for both building and using That is, all of the following should work:
When I encountered this originally, I was experimenting with 0.14.x compatibility (for building and running). The error is because you're using Since Below is a comparison of the contents of I'm pretty sure there are other changes to CoreFn between 0.13.x and 0.14.x, and I'm not certain that |
|
TL;DR: Try using |
|
Also, my earlier is because I'm running NixOS (and that's the closest I can get to a vanilla stack build). |
|
yes, confirmed, purs 0.13.8 resolved issue. |
|
Thank you for the info. Yes a stack build in Ubuntu worked after installing a library mentioned in this issue with some other project. haskell/haskeline#116 |
spago init -> set psgo backend -> spago build failed with error message about $ char code. added it in. maybe some sort of locale issue? i'm in LA area using Ubuntu 20.04 in wsl of windows.