Skip to content

Commit

Permalink
In deno-app-compile: support postCompile hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Apr 15, 2024
1 parent 0ec4f11 commit 349588f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/deno-app-compile.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
, deno-cache ? null
, preBuild ? ""
, postBuild ? ""
, postCompile ? ""
, prefix-patch ? null
, suffix-patch ? null
}:
Expand Down Expand Up @@ -64,6 +65,7 @@ stdenv.mkDerivation {
${postBuild}
export DENORT_BIN="${denort}/bin/denort"
deno compile ${denoCompileFlags} -o "$out/bin/${name}" "$RESULT"
${postCompile}
'';
}

Expand Down

0 comments on commit 349588f

Please sign in to comment.