hnix> a = 1 + 3 <string>:1:3: | 1 | a = 1 + 3 | ^ unexpected '=' expecting "!=", "&&", "++", "->", "//", "<=", "==", ">=", "||", '*', '+', '-', '/', '<', '>', '?', ., or end of input
nix-repl> a = 1 + 2 nix-repl> a 3
type StoreDir = Symbol?
type KnownStoreDir = KnownSymbol
• No instance for (GHC.TypeLits.KnownSymbol a0)
arising from a use of ‘withPath’
Good Friday for everybody.
Please, I require and request your input.
Rather than pass strings with rendered components to ErrorCall, every possible error or piece of information raised within hnix should use a specific constructor
It seemed like a good first issue.
I spent some time. So far and did not found how to transform the monadic throwError/ErrorCatch handling into clean smart constructors without big deep rewriting of nested monadic code and functions.
Maybe assignment really means to make custom monadic type constructors with custom type class instances to do more advanced ErrorCall error catching and info gathering. Is this a right conjecture on what is asked?
Can you provide some input words on what you would suggest about the task, directions.
Thank you for everything.
Hi, I try to follow the installation instruction and got the following error:
autoreconf: 'configure.ac' or 'configure.in' is required builder for '/nix/store/dn1npijmqy6snsmcgbvnykvvrh3k87wh-nix-2.3pre6631_e58a7144.drv' failed with exit code 1
I am using ubuntu 18.04 on WSL
Also every-ones different tooling now revolves around
ghcid and Haskell IDE Engine. HIE becomes well-integrated in majority of cases.
In the HNix project, inside its Nix-shell you can right-away start
ghcid to aid you. For example, I currently use this:
ghcid --command='cabal new-repl --ghc-options=-fno-code --ghc-options=-fno-break-on-exception --ghc-options=-fno-break-on-error --ghc-options=-v1 --ghc-options=-ferror-spans --ghc-options=-j'.
John has a lot of niceties to draw from into your setup, if you make an effort learning and integrating them.
git depth 1setting. Opened haskell-nix/hnix#510
Some time passed. And I found a way to integrate NixOS/Nix, Emacs, Haskell IDE Engine.
And made guide for it:
Also people keep complaining about issues, that I reported, solved and gave to Nix already three years ago. Sill not merged thou.
Since people still complain, maybe someone can help me to merge my fully ready POSIX Nix installer into Nix mainline, or at least as beta-option installer. It is good to push for somewhere right after NixOS release.
For interest looked at what tooling currently uses HNix:
dhall-nix hocker (Interact with the docker registry and generate nix build instructions) jenkinsPlugins2nix nixfromnpm servant-nix (Servant Nix content-type) update-nix-fetchgit yarn2nix
Seems pretty good functionality already.