Skip to content

Commit

Permalink
jwasm: fix install path
Browse files Browse the repository at this point in the history
(cherry picked from commit 3db409b)
  • Loading branch information
vbgl committed Sep 12, 2024
1 parent 2dd837b commit 015c36c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/compilers/jwasm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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;
Expand Down

0 comments on commit 015c36c

Please sign in to comment.