Skip to content

TimescaleDB-0.9.1 fails on NixOS 17.09 with PostgreSQL10 #38469

@Shkiv

Description

@Shkiv

Issue description

I can add, but cannot enable TimescaleDB from branch master to NixOS 17.09

Steps to reproduce

  1. Copy nixpkgs/pkgs/servers/sql/postgresql/timescaledb/default.nix to nixpkgs folder
  2. Insert in main config.nix
nixpkgs.config.packageOverrides = with pkgs; {
  timescaledb = callPackage <nixpkgs/timescaledb.nix>;
};
  1. Deploy using nixops and it is works.
  2. Try to plug it to PostgreSQL:
services.postgresql = {
...
  extraPlugins = [ pkgs.timescaledb ];
};
  1. Deploy fails:
    error: cannot coerce a function to a string, at /nix/store/ic6pn6y6wv8b94xs31j2spkqzxi7gaxk-nixpkgs-patched/lib/types.nix:177:42

Technical details

Your nixpkgs is -6 days old before latest channel, (channel is at commit 21693048d7258c315c7fa6e48f193677e544942c)
NIX_PATH was pinned to nixpkgs=/nix/store/ic6pn6y6wv8b94xs31j2spkqzxi7gaxk-nixpkgs-patched:fleet=/home/mrom/production/fleet (from https://github.com/NixOS/nixpkgs/archive/12512f25e9ecdf6e8fc97a80297a4d2fa89e2f99.tar.gz)
- with patch 'nixos-shell' (https://github.com/NixOS/nixpkgs/compare/master...danbst:nixos-shell.diff)
- with patch 'create journald cursor before system activation' (/nix/store/ifyqivd75a4r0rbfp9rav73knqm02m8x-patch-journal-cursor)
- with patch 'service wrapper' (https://github.com/NixOS/nixpkgs/pull/20423.diff)
- with patch 'pgbouncer' (https://github.com/NixOS/nixpkgs/commit/5eed14303630499386c391da8fcb8de887ff2200.patch)
 - system: `"x86_64-linux"`
 - host os: `Linux 4.9.86, NixOS, 17.09pre-git (Hummingbird)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.16`
 - channels(root): `"nixos-17.09.2752.fea24301317"`
 - nixpkgs: `/nix/store/ic6pn6y6wv8b94xs31j2spkqzxi7gaxk-nixpkgs-patched`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions