jwasm: fix install path

This commit is contained in:
Vincent Laporte 2024-09-09 20:43:06 +02:00
parent 78b56e1640
commit 3db409b5cb
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -25,6 +25,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 \
@ -36,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/Baron-von-Riedesel/JWasm/";
description = "MASM-compatible x86 assembler";
changelog = "https://github.com/Baron-von-Riedesel/JWasm/releases/tag/${finalAttrs.src.rev}";
mainProgram = "jwasm";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;