Re: [Nix-dev] Haskell: Stackage and Nix

2015-09-12 Thread Nikita Karetnikov
> Hi! I am also interested in handling Stackage packages with NixOS. I
> personally think that NixOS itself does all the things Stackage do and
> more. Unfortunately, I am to build several existing projects which use
> Stackage and not Nix.
> 
> Nikita, are you going to patch Stack with patchelf or construct a
> chroot env instead?

I haven't thought about it much.  I needed it for the project I was
working on, but now it's not a priority for me.

FWIW, stack works okay-ish on NixOS.  You just have to switch the
compiler version to avoid running stack setup and install system libs
with nix-env whenever stack build complains.

I could probably join the effort, but I don't really know where to
start since I have no deep knowledge of either project.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Haskell: Stackage and Nix

2015-09-11 Thread Peter Simons
Hi folks,

 > I am also interested in handling Stackage packages with NixOS.

I created https://github.com/NixOS/cabal2nix/issues/205 to get that
effort underway.

Best regards,
Peter

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


Re: [Nix-dev] Haskell: Stackage and Nix

2015-09-11 Thread Sergey Mironov
Hi! I am also interested in handling Stackage packages with NixOS. I
personally think that NixOS itself does all the things Stackage do and
more. Unfortunately, I am to build several existing projects which use
Stackage and not Nix.

Nikita, are you going to patch Stack with patchelf or construct a
chroot env instead?

Regards,
Sergey


2015-07-14 1:57 GMT+03:00 Nikita Karetnikov :
> Is there a way to build packages from Stackage?  It'd be cool to have a
> separate namespace for that, so I could refer to a package as
> stackagePackages.something.
>
> That's the only relevant post I've found:
> http://article.gmane.org/gmane.linux.distributions.nixos/15724
>
> But it seems to require a lot of work.
>
> For the record, I'm aware of Stack and trying it now, but it's also not
> pleasant because you have to manage non-Haskell libs yourself.
>
> ___
> 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] Haskell: Stackage and Nix

2015-07-13 Thread Nikita Karetnikov
Is there a way to build packages from Stackage?  It'd be cool to have a
separate namespace for that, so I could refer to a package as
stackagePackages.something.

That's the only relevant post I've found:
http://article.gmane.org/gmane.linux.distributions.nixos/15724

But it seems to require a lot of work.

For the record, I'm aware of Stack and trying it now, but it's also not
pleasant because you have to manage non-Haskell libs yourself.


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev