[Nix-dev] Developing R modules with nix

Michel Kuhlmann michel at kuhlmanns.info
Mon Sep 15 12:16:12 CEST 2014


Hi Peter,

> what do you mean by "didn't work out"? What exactly didn't work?

I guess I mixed up my config; I already had John's *ToolsEnv-pattern for
haskell in my config:

    { pkgs }: {

    packageOverrides = self: with pkgs; rec {
    haskellToolsEnv = pkgs.buildEnv {
        name = "haskellTools";
        paths = with haskellPackages; [
            ghc
            cabalInstall_1_20_0_3
            ghcMod_5_0_1_2
            hlint
            hasktags
            cabal2nix
            stylishHaskell
            pandoc
            hindent
            ghcServer
        ];
      };

    rWrapper = pkgs.rWrapper.override {
            packages = with pkgs.rPackages; [ Defaults data_table ];
          };

    };
    }

Then using `rWrapper` lead to

    error: infinite recursion encountered
    (use ‘--show-trace’ to show detailed location information)


Greetings, Michel


More information about the nix-dev mailing list