Re: [Nix-dev] Announcing support for GHCJS

2015-01-08 Thread Bas van Dijk
Hi Oliver, At work (I'm now at Lumi Guide) I currently use the following setup. I use a Makefile which defines some convenient targets for building the client and server and for entering shells for development: Makefile: # Builds the server. .PHONY: server server: nix-build -I . packages.nix

Re: [Nix-dev] Announcing support for GHCJS

2015-01-06 Thread Oliver Charles
Ertugrul Söylemez writes: > Hi everybody, > >> I was going to try it out and found the compiler itself, but couldn't >> figure out how to make a derivation for a JS package. Is there any >> documentation on that? If not, in which files should I look? Something >> like ghcjsWithPackages and cab

Re: [Nix-dev] Announcing support for GHCJS

2015-01-05 Thread Ertugrul Söylemez
Hi everybody, > I was going to try it out and found the compiler itself, but couldn't > figure out how to make a derivation for a JS package. Is there any > documentation on that? If not, in which files should I look? Something > like ghcjsWithPackages and cabal.mkJsDerivation would be great.

Re: [Nix-dev] Announcing support for GHCJS

2015-01-05 Thread Ertugrul Söylemez
Hi Charles, > I'm happy to announce that support for the GHCJS compiler [...] has > been merged into master [...]. > This introduces a new top-level package set: haskellPackages_ghcjs. I was going to try it out and found the compiler itself, but couldn't figure out how to make a derivation for a