From 329e9341d992fcde138af8ab6704e8bb8a30dc73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 10 Mar 2026 02:14:37 +0100 Subject: [PATCH] update CLAUDE.md with fmt/lint commands and Go pattern Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index becbce1..7beba41 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,6 +18,12 @@ nix build .#packages.x86_64-linux. # Validate flake nix flake check +# Format nix files +nix fmt + +# Lint nix files +statix check + # Update flake inputs nix flake update ``` @@ -39,7 +45,8 @@ nix flake update - **AppImage**: `appimageTools.wrapType2` (see `poe-sidekick`) - **Electron/Yarn**: `yarnConfigHook` + `yarnBuildHook` + `fetchYarnDeps` (see `awakened-poe-trade`) - **Qt6/Meson**: `qt6Packages.callPackage` + `wrapQtAppsHook` (see `path-of-building-*`) -- **Rust/Cargo**: `rustPlatform.buildRustPackage` + `useFetchCargoVendor` (see `noita-entangled-worlds`) +- **Rust/Cargo**: `rustPlatform.buildRustPackage` (see `noita-entangled-worlds`) +- **Go**: `buildGoModule` (see `forgejo-mcp`) - **Binary/.NET**: `fetchurl` + `makeWrapper` with `makeLibraryPath` (see `vintagestory`) ## Commit Style