`deno compile` in Nix results in `deno repl` starting instead of actual program
I wrote following Nix impure derivation for my Deno app:
Here it is build log: https://pastebin.com/fjs7JiK8
But running program via
What am I missing here?
Here it is build log: https://pastebin.com/fjs7JiK8
But running program via
nix run or just manually /nix/store/v8j5iwa9ji48rhd63wp9nj22rydrl83x-api/bin/api results in opening Deno repl (pic) and not the actual programWhat am I missing here?

Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
