add buildInputs option to mkExecutable

This commit is contained in:
Benjamin Bädorf 2023-02-08 16:20:40 +01:00
parent 15b4c19f42
commit 0b54d6ce44
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -9,6 +9,7 @@
version,
src,
bin ? pname,
buildInputs ? [],
entrypoint,
lockfile,
config,
@ -58,7 +59,7 @@ in
inherit pname version src;
dontFixup = true;
buildInputs = with pkgs; [deno jq];
buildInputs = with pkgs; [deno jq] ++ buildInputs;
buildPhase = ''
export DENO_DIR="/tmp/deno2nix"
mkdir -p $DENO_DIR