From b8a2003a9434cc761b67d26fd596425051b3aaf6 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 1 Aug 2024 02:10:43 -0700 Subject: [PATCH] print lines of conf file --- service.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/service.nix b/service.nix index 57a9773..320d34e 100644 --- a/service.nix +++ b/service.nix @@ -15,8 +15,10 @@ in let execName = service; script = writeShellScriptBin execName '' - echo "hello!" - echo "${config.repo-clone.pkg}" + while IFS="" read -r p || [ -n "$p" ] + do + printf '%s\n' "$p" + done < "${config.repo-clone.pkg}" ''; in "${script}/bin/${execName}";