[Nix-dev] infinite recursion on newer nixpkgs

Profpatsch mail at profpatsch.de
Fri Aug 5 17:12:26 CEST 2016


On 16-08-04 09:52pm, Sergey Mironov wrote:
> Hi.
> I've updated my nixpkgs up to 8983df7 and faced an infinite recursion
> on the following peace of config:
> 
>   services = pkgs.lib.mkIf config.services.postgresql.enable {
>     postgresql.initialScript = pkgs.writeText "postgreinit.sql" ''
>       create role grwlf superuser login createdb createrole replication;
>       '';
>   };
> 
> It worked with previous versions, what would you recommend me to do?
> 
> Regards,
> Sergey

Cannot reproduce, it depends on what options you have set in your config.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.


More information about the nix-dev mailing list