refactor: systemic refactor for FHS compliance, native systemd migration, and script hardening

This commit is contained in:
Bernardo Magri
2026-04-06 21:45:33 +01:00
parent 5c45b10d88
commit a31023c037
5 changed files with 62 additions and 2 deletions

View File

@@ -41,7 +41,10 @@ let
mkdir -p $out/bin
find . -type f -exec cp {} $out/bin/ \;
chmod +x $out/bin/*
patchShebangs $out/bin
'';
postFixup = ''
# Wrap every script to ensure dependencies are in PATH and inject configuration
for file in $out/bin/*; do
if [ -f "$file" ]; then