summaryrefslogtreecommitdiff
path: root/nix/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/package.nix')
-rw-r--r--nix/package.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/nix/package.nix b/nix/package.nix
new file mode 100644
index 0000000..43895c5
--- /dev/null
+++ b/nix/package.nix
@@ -0,0 +1,18 @@
+{ buildNpmPackage }:
+
+buildNpmPackage {
+ pname = "leos-vcard-generator";
+ version = "0.0.1";
+
+ src = ../.;
+
+ npmDepsHash = "sha256-4YUgjff+T7eN6quLUYTWXXAbkDfhp0TWbF8gDQ0MlfM=";
+
+ NEXT_TELEMETRY_DISABLED = 1;
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r .next/standalone/. $out
+ cp -r .next/static/. $out/.next/static
+ '';
+}