closes #1; openapi! yay
This commit is contained in:
parent
b560060b45
commit
7b15834f17
16 changed files with 519 additions and 341 deletions
|
@ -25,7 +25,7 @@
|
|||
# uncomment this and let the build fail, then get the current hash
|
||||
# very scuffed but endorsed!
|
||||
# npmDepsHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
npmDepsHash = "sha256-hMI010P3lJIMCMaj9HYUZopMAWaNQMCG1QXk/OdV1u4=";
|
||||
npmDepsHash = "sha256-1p/QMZQoFwXxXxlTYTtdHQ3O7p+RSzD3RpoKRB40CHg=";
|
||||
|
||||
nativeBuildInputs = with pkgs; [ makeWrapper ];
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
|||
mv node_modules dist views public $out/
|
||||
makeWrapper ${pkgs.nodejs-slim}/bin/node $out/bin/amdl \
|
||||
--prefix PATH : ${makeBinPath buildInputs} \
|
||||
--add-flags "$out/dist/index.js" \
|
||||
--add-flags "$out/dist/src/index.js" \
|
||||
--set VIEWS_DIR $out/views \
|
||||
--set PUBLIC_DIR $out/public
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue