add liminix-rebuild command

This commit is contained in:
Daniel Barlow 2023-05-17 15:03:45 +01:00
parent b0a0fdcfcc
commit b1f4db00a0
3 changed files with 17 additions and 0 deletions

View file

@ -7,6 +7,7 @@
{
writeText
, lib
, s6-init-bin
, stdenv
}:
let
@ -74,5 +75,6 @@ in attrset:
installPhase = ''
mkdir -p $out/bin
$STRIP --remove-section=.note --remove-section=.comment --strip-all makedevs -o $out/bin/activate
ln -s ${s6-init-bin}/bin/init $out/bin/init
'';
}