Re: [Nix-dev] Integration of Haste packages

2014-11-06 Thread Bas van Dijk
Hi Ryan,

Thanks for your efforts to get ghcjs integrated. I would like to try
out your fork by building a little ghcjs-based project. I generated
the following foo.nix file based on my cabal file using cabal2nix:

{ cabal, aeson, baseUnicodeSymbols, dataDefault, text
, unorderedContainers
, ghcjsJquery
}:

cabal.mkDerivation (self: {
  pname = "foo";
  version = "0.0.1";
  src = ./.;
  isLibrary = false;
  isExecutable = true;
  buildDepends = [
aeson baseUnicodeSymbols dataDefault  text
unorderedContainers
ghcjsJquery
  ];
  meta = {
license = self.stdenv.lib.licenses.unfree;
platforms = self.ghc.meta.platforms;
  };
})

Now I would like to write a default.nix which will build this package
using ghcjs.

How should I go about doing that?

Any pointers are appreciated. Thanks!

Bas

On 25 September 2014 23:21, Ryan Trinkle  wrote:
> Hi Thomas,
>
> I recently got ghcjs integrated, so it may be helpful to take a look at my
> patches.  They're available at https://github.com/ryantrinkle/nixpkgs and
> are making their way upstream thanks to the efforts of Charles Strahan
> (https://github.com/cstrahan).
>
>
> Ryan
>
> On Thu, Sep 25, 2014 at 5:16 PM, Thomas Strobel  wrote:
>>
>> Hi!
>>
>> I'm thinking of working on the integration of Haste packages into NixOS
>> on the weekend. I want to hook onto the package management of Haskell,
>> and adapt it for Haste.
>>
>> Now, I wanted to ask if someone already started to work on that or had
>> any ideas or thoughts about it. If so, it would be nice if you would let
>> me know about it.
>>
>>
>> Many thanks,
>> Thomas
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Integration of Haste packages

2014-09-25 Thread Ryan Trinkle
Hi Thomas,

I recently got ghcjs integrated, so it may be helpful to take a look at my
patches.  They're available at https://github.com/ryantrinkle/nixpkgs and
are making their way upstream thanks to the efforts of Charles Strahan (
https://github.com/cstrahan).


Ryan

On Thu, Sep 25, 2014 at 5:16 PM, Thomas Strobel  wrote:

> Hi!
>
> I'm thinking of working on the integration of Haste packages into NixOS
> on the weekend. I want to hook onto the package management of Haskell,
> and adapt it for Haste.
>
> Now, I wanted to ask if someone already started to work on that or had
> any ideas or thoughts about it. If so, it would be nice if you would let
> me know about it.
>
>
> Many thanks,
> Thomas
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Integration of Haste packages

2014-09-25 Thread Thomas Strobel
Hi!

I'm thinking of working on the integration of Haste packages into NixOS
on the weekend. I want to hook onto the package management of Haskell,
and adapt it for Haste.

Now, I wanted to ask if someone already started to work on that or had
any ideas or thoughts about it. If so, it would be nice if you would let
me know about it.


Many thanks,
Thomas
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev