add buildInputs option to mkExecutable
This commit is contained in:
parent
15b4c19f42
commit
0b54d6ce44
|
@ -9,6 +9,7 @@
|
||||||
version,
|
version,
|
||||||
src,
|
src,
|
||||||
bin ? pname,
|
bin ? pname,
|
||||||
|
buildInputs ? [],
|
||||||
entrypoint,
|
entrypoint,
|
||||||
lockfile,
|
lockfile,
|
||||||
config,
|
config,
|
||||||
|
@ -58,7 +59,7 @@ in
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
dontFixup = true;
|
dontFixup = true;
|
||||||
|
|
||||||
buildInputs = with pkgs; [deno jq];
|
buildInputs = with pkgs; [deno jq] ++ buildInputs;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export DENO_DIR="/tmp/deno2nix"
|
export DENO_DIR="/tmp/deno2nix"
|
||||||
mkdir -p $DENO_DIR
|
mkdir -p $DENO_DIR
|
||||||
|
|
Loading…
Reference in a new issue