Skip to content

Commit c6e5592

Browse files
committed
docs(flake): fix pureRust-wasm banner and AMENT export comment
Reword the wasm shell banner to not instruct 'cargo hu-plugins' (unusable in this PR) and correct the AMENT_PREFIX_PATH comment which wrongly claimed multiple statements increment SHLVL.
1 parent 7dd795c commit c6e5592

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

flake.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,9 @@
337337
}
338338
339339
${
340-
# Per-package AMENT_PREFIX_PATH: collapsed into one export so nix develop
341-
# doesn't evaluate 26 separate shell statements (each increments SHLVL).
340+
# Per-package AMENT_PREFIX_PATH: collapsed into one export to keep the
341+
# shellHook small — one export instead of 26 separate shell statements,
342+
# which reduces shellHook size and nix develop's eval cost.
342343
pkgs.lib.optionalString (rosEnvPaths != [ ]) ''
343344
export AMENT_PREFIX_PATH="''${AMENT_PREFIX_PATH:+$AMENT_PREFIX_PATH:}${pkgs.lib.concatStringsSep ":" rosEnvPaths}"
344345
''
@@ -489,7 +490,7 @@
489490
banner = ''
490491
echo "🦀 hiroz development environment (pure Rust + wasm32-wasip2)"
491492
echo "Rust: $(rustc --version)"
492-
echo "Build plugins with: cargo hu-plugins"
493+
echo "wasm32-wasip2 target available for WASM plugin builds"
493494
'';
494495
};
495496

0 commit comments

Comments
 (0)