fix: claude.md update
This commit is contained in:
parent
e08bf42eaa
commit
450d9d6457
1 changed files with 7 additions and 0 deletions
|
|
@ -80,6 +80,13 @@ utils/pkgs/<package-name>/
|
|||
└── (other files like patches, lock files)
|
||||
```
|
||||
|
||||
**IMPORTANT: When modifying a custom package** (patches, version updates, etc.), always test by building the package directly, not just running `test-configuration`. The configuration test only checks that the Nix expression evaluates, but doesn't verify the package actually builds:
|
||||
|
||||
```bash
|
||||
# Build a custom package directly to verify it works
|
||||
nix-build -E 'with import <nixpkgs> { overlays = [ (import ./utils/overlays/packages.nix) ]; config.allowUnfree = true; }; <package-name>'
|
||||
```
|
||||
|
||||
## Workflow
|
||||
|
||||
**IMPORTANT: Always run `./scripts/test-configuration <hostname>` after making any changes** to verify the NixOS configuration builds successfully. This is required before committing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue