From 19350df1d58dc7a748f528c14c58a3910979a452 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 13:27:03 +0400 Subject: [PATCH] fix script --- lib.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index 80830bf..5d17d58 100644 --- a/lib.nix +++ b/lib.nix @@ -108,7 +108,9 @@ in ) ); }; - setupScript = pkgs.writeShellScriptBin "setup-postgres" '' + setupScript = pkgs.writeShellApplication { + name = "setup-postgres"; + text = '' set -euo pipefail export PATH=${package}/bin:${pkgs.coreutils}/bin POSTGRES_RUN_INITIAL_SCRIPT="false"