[Nix-dev] infinite recursion on newer nixpkgs

Sergey Mironov grrwlf at gmail.com
Thu Aug 4 20:52:19 CEST 2016


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


More information about the nix-dev mailing list