From 5cafe9d92bc8b7e35f0e8b5b0e6d2ea25dddba51 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 27 Dec 2024 05:26:54 -0800 Subject: [PATCH] nix: package dist --- package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.nix b/package.nix index 454df09..71e9ba2 100644 --- a/package.nix +++ b/package.nix @@ -29,6 +29,11 @@ in rustPlatform.buildRustPackage { sqlite ]; + postInstall = /* bash */ '' + mkdir $out/dist + cp -r $src/dist/* $out/dist + ''; + meta = { description = "nyazoom"; homepage = "https://nyazoom.zynh.me";