add buildInputs option to mkExecutable

main
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
1 changed files with 2 additions and 1 deletions

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