Skip to content

postgresql fails to install: derivation contains an illegal reference specifier 'man' #369366

Closed
@suhr

Description

Describe the bug

# nixos-rebuild switch
evaluation warning: nur.overlay has been replaced by nur.overlays.default
building the system configuration...
evaluation warning: nur.overlay has been replaced by nur.overlays.default
evaluation warning: The option `services.samba.shares' defined in `/nix/store/0lwkq1aw821kd528p4sii8f6ym4bghs4-source/samba.nix' has been renamed to `services.samba.settings'.
evaluation warning: taskwarrior was replaced by taskwarrior3, which requires manual transition from taskwarrior 2.6, read upstream's docs: https://taskwarrior.org/docs/upgrade-3/
[1/1/17 built] building postgresql-14.15 (installCheckPhase): ok          290 m       cconflict ... ok          417 ms

error: derivation contains an illegal reference specifier 'man'
error: 1 dependencies of derivation '/nix/store/2as4zxz8bgfcplra5ghikmywk8rlr41d-postgresql-and-plugins-14.15.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nczdanlvm837k32xkdi75wiafdyzlpl1-postgresql-configfile-check.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wnc4x8kb45fdac454zbwap636npx016m-nixos-system-nixos-25.05.20241229.88195a9.drv' failed to build

Additional context

services.postgresql = {
    enable = true;
    package = pkgs.postgresql_14;
    extensions = (p: [p.pgvector]);
    # ...
}

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.11.6, NixOS, 25.05 (Warbler), 25.05.20241229.88195a9
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.25.3
  • channels(root): "nixos"
  • channels(suhr): ""
  • nixpkgs: /nix/store/zq2axpgzd5kykk1v446rkffj3bxa2m2h-source

Notify maintainers

@thoughtpolice @danbst @globin @ivan @Ma27 @wolfgangwalther


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions