jwasm: fix install path

(cherry picked from commit 3db409b5cb)
This commit is contained in:
Vincent Laporte
2024-09-12 18:26:46 +02:00
committed by Vincent Laporte
parent 0324244405
commit 419cfdd0c5

View File

@@ -24,6 +24,10 @@ stdenv.mkDerivation (finalAttrs: {
--replace "/usr/local/bin" "${placeholder "out"}/bin"
'';
preInstall = ''
mkdir -p ${placeholder "out"}/bin
'';
postInstall = ''
install -Dpm644 $src/Html/License.html \
$src/Html/Manual.html \
@@ -35,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/Baron-von-Riedesel/JWasm/";
description = "A MASM-compatible x86 assembler";
changelog = "https://github.com/Baron-von-Riedesel/JWasm/releases/tag/v${finalAttrs.version}";
mainProgram = "jwasm";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;