lfe: fix install phase, make sure we get the binaries in the right place

This commit is contained in:
Marcos Benevides
2026-04-12 20:28:14 -04:00
parent 5ab615a961
commit cbe0413f0c
+12 -7
View File
@@ -68,18 +68,23 @@ else
beamDeps = [ proper ];
makeFlags = [
"-e"
"MANDB=''"
"PREFIX=$$out"
];
# override buildRebar3's install to let the builder use make install
installPhase = "";
installPhase = ''
runHook preInstall
make -e MANDB= PREFIX=$out install
runHook postInstall
'';
doCheck = true;
checkTarget = "travis";
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
test -e $out/bin/lfe
runHook postInstallCheck
'';
postFixup = ''
# LFE binaries are shell scripts which run erl and lfe.
# Add some stuff to PATH so the scripts can run without problems.