[Nix-dev] Debugging callPackage builds?

Anand Patil anand.prabhakar.patil at gmail.com
Fri Feb 26 19:18:40 CET 2016


... And anyway, the problem I was trying to debug turned out to be the GHC
library ID bug. :)


On Fri, Feb 26, 2016 at 10:11 AM Anand Patil <
anand.prabhakar.patil at gmail.com> wrote:

> Never mind, figured it out: nix-shell ./nixpkgs -A
> packages.haskell.compiler.ghcjs . I was confused because nix-shell
> ./nixpkgs/pkgs/development/compilers/ghcjs was complaining that it didn't
> have default values for all the arguments.
>
> Anand
>
> On Thu, Feb 25, 2016 at 7:18 PM Anand Patil <
> anand.prabhakar.patil at gmail.com> wrote:
>
>> Hi everyone,
>>
>> I'm trying to debug
>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/ghcjs/default.nix ,
>> which is a callPackage-style Nix function that expects lots of arguments.
>> Is there a quick way to get a nix-shell or other type of debugging
>> environment for such a package?
>>
>> Thanks,
>> Anand
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160226/5a27a24b/attachment.html 


More information about the nix-dev mailing list