NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.06k stars 13.39k forks source link

Pleroma installation fails #274267

Open jluttine opened 8 months ago

jluttine commented 8 months ago

Describe the bug

I'm trying to set up Pleroma. I'm following the instructions on NixOS manual: https://nixos.org/manual/nixos/stable/#module-services-pleroma-generate-config

However, generating the Pleroma config fails.

Steps To Reproduce

Steps to reproduce the behavior:

$ nix-shell -p pleroma --run "pleroma_ctl instance gen --output config.exs"
cat: /nix/store/5x3vrwqmg0xsh7hs30k3hqy153dv6vlv-pleroma-2.6.0/releases/COOKIE: No such file or directory`

Expected behavior

Config files should've been generated.

Notify maintainers

@picnoir @yu-re-ka @Kloenk @yayayayaka

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.4, NixOS, 24.05 (Uakari), 24.05.git.a54ab23b588a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/etc/nixpkgs

Add a :+1: reaction to issues you find important.

picnoir commented 8 months ago

Duplicate of https://github.com/NixOS/nixpkgs/issues/170805

Related to https://github.com/NixOS/nixpkgs/issues/166229

Help welcome, I think https://github.com/NixOS/nixpkgs/issues/166229#issuecomment-1119937747 is the way to go. I'm up to review the fix.