use /bin/sh for init scripts

This commit is contained in:
Daniel Barlow
2023-04-19 21:41:05 +01:00
parent ad3ef53171
commit 99af416e14
5 changed files with 5 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
{ config, pkgs, ... }:
let
inherit (pkgs)
busybox
execline
s6
s6-init-bin
@@ -16,12 +15,11 @@ let
name = "s6-scripts";
src = ./scripts;
phases = ["unpackPhase" "installPhase" ];
buildInputs = [busybox];
buildInputs = [];
installPhase = ''
mkdir $out
cp -r $src $out/scripts
chmod -R +w $out
patchShebangs $out/scripts
'';
};
service = dir {