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

Sergey Mironov grrwlf at gmail.com
Tue Jul 8 19:43:16 CEST 2014


Hi! My 2 cents: I create /nix/store on standalone server and copy all
the dependencies (as listed by nix-store -qR app) there in order to
run NixOS application. Of cause, I use root access in order to do it.

Refards,
Sergey

2014-07-06 15:56 GMT+04:00 Vladimír Čunát <vcunat at gmail.com>:
> 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
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


More information about the nix-dev mailing list