avoid makeWrapper on host, it requires bash

This commit is contained in:
Daniel Barlow 2024-06-29 22:36:05 +01:00
parent d4d8093f97
commit 16a2499d74
1 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,6 @@
, stdenv
, fennelrepl
, s6-rc-up-tree
, makeWrapper
}:
stdenv.mkDerivation {
name = "uevent-watch";
@ -19,10 +18,9 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin
cp -p ${writeFennel "uevent-watch" {
packages = [fennel anoia nellie lualinux];
packages = [fennel anoia nellie lualinux s6-rc-up-tree] ;
mainFunction = "run";
} ./watch.fnl} $out/bin/uevent-watch
wrapProgram $out/bin/uevent-watch --prefix PATH : "${s6-rc-up-tree}/bin"
'';
checkPhase = ''
fennelrepl ./test.fnl