<p>I used the <code>ghcup</code> tool to install <code>ghc</code> and <code>cabal</code>, on completion I tried to create a <code>.ghci</code> file to print a new prompt.</p>
<p>It gave me a warning</p>
<pre><code>*** WARNING: .ghci is writable by someone else, IGNORING!
Suggested fix: execute 'chmod go-w .ghci'
</code></pre>
<p><em>Even after doing the suggested fix the same warning appears and nothing happened to the prompt</em> :(</p>

CC BY-SA 4.0
2021-09-07T05:04:57.893Z
may you try doing `chmod 644 .ghci`
elrmndo
CC BY-SA 4.0
2021-09-09T06:55:40.847Z
@elrmndo It did not work either. :(
isuryanarayanan
CC BY-SA 4.0
2022-02-04T05:25:55.223Z
I am having this problem using Nix on macOS 10.14.6 and 10.15.7 in early 2022. It is frankly embarrassing that this problem, which has been known for more than 8 years, has not been fixed.
XiTouch
<haskell>
Setting up .ghci for Haskell installation in WSL
# Setting up .ghci for Haskell installation in WSL

(Asked by: username_0 on 2021-09-04)

I used the ghcup tool to install ghc and cabal, on completion I tried to create a .ghci file to print a new prompt.
It gave me a warning
*** WARNING: .ghci is writable by someone else, IGNORING!
Suggested fix: execute 'chmod go-w .ghci'

Even after doing the suggested fix the same warning appears and nothing happened to the prompt :(

**Tags:** haskell
> **Comments:**
> **username_1**: may you try doing `chmod 644 .ghci`  
> **username_0**: @elrmndo It did not work either. :(  
> **username_2**: I am having this problem using Nix on macOS 10.14.6 and 10.15.7 in early 2022. It is frankly embarrassing that this problem, which has been known for more than 8 years, has not been fixed.  

---

## 0 answers

