juspay / services-flake

NixOS-like services for Nix flakes
https://community.flake.parts/services-flake
MIT License
299 stars 28 forks source link

pg's `-init` process must fail with non-zero exit in schema run failures #256

Closed srid closed 1 week ago

srid commented 1 week ago
image

https://github.com/juspay/services-flake/blob/4eee29c6a00aa420f6d407602397c24b5dd92998/nix/postgres/setup-script.nix#L51

shivaraj-bh commented 1 week ago

https://github.com/juspay/services-flake/pull/209 should have fixed it. Let me try reproducing it, I should also include a test for this scenario.

srid commented 1 week ago

Oops, I forgot that I had already opened an issue for it. Let me try latest.

srid commented 1 week ago
• Updated input 'services-flake':
    'github:juspay/services-flake/218fa6cc9a875c20def622e974fb4e0f391b3b6d' (2024-03-07)
  → 'github:juspay/services-flake/4eee29c6a00aa420f6d407602397c24b5dd92998' (2024-07-03)
image