From 84266611ba353c7b95a35ae07206adeb37b19c4a Mon Sep 17 00:00:00 2001 From: Surma Date: Sat, 7 Nov 2026 20:56:17 +0000 Subject: [PATCH] Include agent definitions and skills in the development bundle --- flake.nix | 2 -- userland/bundle.nu | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 028ed70..9dd15d3 100644 --- a/flake.nix +++ b/flake.nix @@ -113,8 +113,6 @@ substituteInPlace userland/brush/build.nu --replace-fail \ ${pkgs.lib.escapeShellArg "if (^git -C $source rev-parse HEAD | str trim) != $revision { error make {msg: 'unexpected brush revision'} }"} \ '# Revision verified by the fixed-output Nix fetch.' - substituteInPlace userland/bundle.nu --replace-fail \ - 'userland extensions Cargo.toml' 'userland extensions agents skills Cargo.toml' patchShebangs userland/cwd-init/link.nu ''; preBuild = '' diff --git a/userland/bundle.nu b/userland/bundle.nu index 7ca2c0c..f2b3977 100644 --- a/userland/bundle.nu +++ b/userland/bundle.nu @@ -41,14 +41,14 @@ def main [destination?: path] { if ($snapshot | path exists) { rm --recursive --force $snapshot } mkdir $snapshot let archive = ($destination | path join source.tar) - ^git -C $repo archive --output $archive HEAD host vfs userland extensions Cargo.toml Cargo.lock flake.nix flake.lock README.md AGENTS.md .gitignore + ^git -C $repo archive --output $archive HEAD host vfs userland extensions agents skills Cargo.toml Cargo.lock flake.nix flake.lock README.md AGENTS.md .gitignore if $env.LAST_EXIT_CODE != 0 { error make {msg: 'source archive failed'} } ^tar -xf $archive -C $snapshot if $env.LAST_EXIT_CODE != 0 { error make {msg: 'source extraction failed'} } rm $archive ^git -C $snapshot init --quiet --initial-branch=main if $env.LAST_EXIT_CODE != 0 { error make {msg: 'source git init failed'} } - ^git -C $snapshot add host vfs userland extensions Cargo.toml Cargo.lock flake.nix flake.lock README.md AGENTS.md .gitignore + ^git -C $snapshot add host vfs userland extensions agents skills Cargo.toml Cargo.lock flake.nix flake.lock README.md AGENTS.md .gitignore if $env.LAST_EXIT_CODE != 0 { error make {msg: 'source git add failed'} } with-env { GIT_AUTHOR_NAME: 'Sausage', GIT_AUTHOR_EMAIL: 'sausage@localhost',