forked from dan/liminix
avoid makeWrapper on host, it requires bash
This commit is contained in:
parent
d4d8093f97
commit
16a2499d74
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue