From be458e56e85c6f0af95427490f11de3ae814399d Mon Sep 17 00:00:00 2001 From: Zexin Yuan Date: Thu, 18 Jun 2026 17:39:58 +0800 Subject: [PATCH] worktrunk: copy skills --- pkgs/by-name/wo/worktrunk/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/wo/worktrunk/package.nix b/pkgs/by-name/wo/worktrunk/package.nix index 5b785b4b8fc0..ab3a3f7db7a3 100644 --- a/pkgs/by-name/wo/worktrunk/package.nix +++ b/pkgs/by-name/wo/worktrunk/package.nix @@ -41,6 +41,10 @@ rustPlatform.buildRustPackage (finalAttrs: { --fish <($out/bin/wt config shell completions fish) \ --nushell <($out/bin/wt config shell completions nu) \ --zsh <($out/bin/wt config shell completions zsh) + + # -L dereferences symlinks (e.g. skills/worktrunk/reference/README.md → repo + # root), so no dangling symlinks end up in $out. + cp -RL ${finalAttrs.src}/skills $out/ ''; nativeCheckInputs = [ gitMinimal ];