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"