From 2410c8ef00fba6eaaaf63afe8ae61e2a75e7e1bc Mon Sep 17 00:00:00 2001 From: Burke Libbey Date: Sat, 3 Jan 2026 18:18:08 -0500 Subject: [PATCH] Fix flake.nix to use correct src/qmd.ts path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The installPhase was trying to copy qmd.ts from root, but it's at src/qmd.ts. Updated to copy the src directory and point the wrapper to the correct path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 68cef1b..e702d71 100644 --- a/flake.nix +++ b/flake.nix @@ -31,11 +31,11 @@ mkdir -p $out/bin cp -r node_modules $out/lib/qmd/ - cp qmd.ts $out/lib/qmd/ + cp -r src $out/lib/qmd/ cp package.json $out/lib/qmd/ makeWrapper ${pkgs.bun}/bin/bun $out/bin/qmd \ - --add-flags "$out/lib/qmd/qmd.ts" \ + --add-flags "$out/lib/qmd/src/qmd.ts" \ --set DYLD_LIBRARY_PATH "${pkgs.sqlite.out}/lib" \ --set LD_LIBRARY_PATH "${pkgs.sqlite.out}/lib" ''; @@ -67,7 +67,7 @@ shellHook = '' echo "QMD development shell" - echo "Run: bun qmd.ts " + echo "Run: bun src/qmd.ts " ''; }; }