freebsd.service: init

Co-Authored-By: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
Artemis Tosini
2026-03-06 13:21:14 -08:00
co-authored by Audrey Dutcher
parent d3b51e5057
commit e0935d9adc
@@ -0,0 +1,11 @@
{
lib,
mkDerivation,
env,
}:
mkDerivation {
path = "usr.sbin/service";
postPatch = ''
substituteInPlace usr.sbin/service/service.sh --replace-fail /usr/bin/env ${lib.getExe env}
'';
}