From 33f41baebd9aa73a4d12bcf08051b339c0d8eaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 1 Aug 2025 01:57:04 +0200 Subject: [PATCH] nixos/tests/prosody: use writeShellScriptBin wrapper --- nixos/tests/xmpp/prosody.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/tests/xmpp/prosody.nix b/nixos/tests/xmpp/prosody.nix index 08c49637918c..abed11e5308a 100644 --- a/nixos/tests/xmpp/prosody.nix +++ b/nixos/tests/xmpp/prosody.nix @@ -15,8 +15,7 @@ let # test interactively. createUsers = pkgs: - pkgs.writeScriptBin "create-prosody-users" '' - #!${pkgs.bash}/bin/bash + pkgs.writeShellScriptBin "create-prosody-users" '' set -e prosodyctl register cthon98 example.com nothunter2 prosodyctl register azurediamond example.com hunter2 @@ -24,8 +23,7 @@ let # Deletes the test users. delUsers = pkgs: - pkgs.writeScriptBin "delete-prosody-users" '' - #!${pkgs.bash}/bin/bash + pkgs.writeShellScriptBin "delete-prosody-users" '' set -e prosodyctl deluser cthon98@example.com prosodyctl deluser azurediamond@example.com