From e1f1a5ca1756f6e89bdc8c1bbbd3c13a7e5d7424 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 2 Apr 2024 13:25:17 +0200 Subject: fix(common/files/init): hack around nix removing the exec permission bit --- common/files/init | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/files/init b/common/files/init index 1b7c86b..4f108ef 100755 --- a/common/files/init +++ b/common/files/init @@ -81,4 +81,10 @@ while read -r var; do fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" done < "$replacement_file" +# HACK: Re-add the executable permissions to files, which the nix template has somehow +# removed <2024-04-02> +chmod +x scripts/* +chmod +x update.sh +[ -f ./build.sh ] && chmod +x build.sh + # vim: ft=sh -- cgit 1.4.1