[Nix-dev] Compile Haskell program on nixos that works on ubuntu server

Vladimír Čunát vcunat at gmail.com
Sun Jul 6 13:56:51 CEST 2014


On 07/05/2014 11:38 PM, Cody Goodman wrote:
> How would I go about packaging the libs needed to do static linking?

Like this, for example: https://github.com/NixOS/nixpkgs/pull/3194

You can cherry-pick this on top of your preferred branch by
$ curl https://github.com/NixOS/nixpkgs/pull/3194.patch | git am

Rebuilding gmp and ghc takes some time, but I took care to avoid 
changing stdenv (which does depend on gmp).


Vlada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140706/ac9780bf/attachment.bin 


More information about the nix-dev mailing list