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