17 lines
397 B
Nix
17 lines
397 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
pkgs.buildNpmPackage {
|
|
pname = "yandexgpt_tg_bot";
|
|
version = "0.1.0";
|
|
|
|
src = ./.;
|
|
|
|
npmDepsHash = "sha256-hkdmHBAXSTrEMzBas1Tz/ucElc1e6Z81wWQG7J0pSBM=";
|
|
|
|
dontBuild = true;
|
|
|
|
# The prepack script runs the build script, which we'd rather do in the build phase.
|
|
# npmPackFlags = [ "--ignore-scripts" ];
|
|
|
|
# NODE_OPTIONS = "--openssl-legacy-provider";
|
|
}
|