Skip to content

Commit

Permalink
jwasm: fix install path (#340850)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Sep 11, 2024
2 parents eaed34e + 3db409b commit e000b94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/jw/jwasm/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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;
Expand Down

0 comments on commit e000b94

Please sign in to comment.