Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

fix(nix): copy api/coach directory into the opengym-api output

gerrydoro7378e5cd83bc
diff --git a/nix/api.nix b/nix/api.nix
index 24d86c92c..167332dff 100644
--- a/nix/api.nix
+++ b/nix/api.nix
@@ -26,6 +26,7 @@ buildNpmPackage rec {
runHook preInstall
mkdir -p $out/lib/opengym-api
cp -r node_modules $out/lib/opengym-api/
+ cp -r coach $out/lib/opengym-api/
cp server.js push-messages.js verify-error.js $out/lib/opengym-api/
mkdir -p $out/bin