fix(nixos): correct python3.withPackages syntax in systemPackages and add toplevel evaluation to test script
Core Architecture & Invariant CI / validate (push) Successful in 34s
Core Architecture & Invariant CI / validate (push) Successful in 34s
- Wrap python3.withPackages in outer parentheses with proper whitespace for argument application. - Enhance scripts/test to evaluate nixosConfigurations.server toplevel derivation during pre-merge testing.
This commit is contained in:
1 parent
5d2aff3f90
commit
ccea8abb4a
2 files changed
+3
-2
No files matched your search
@@ -120,9 +120,9 @@
|
|||||||
sops
|
sops
|
||||||
age
|
age
|
||||||
# Python runtime (hard requirement for appctl and gitops_dispatcher.py)
|
# Python runtime (hard requirement for appctl and gitops_dispatcher.py)
|
||||||
python3.withPackages(ps: with ps; [
|
(python3.withPackages (ps: with ps; [
|
||||||
pyyaml
|
pyyaml
|
||||||
])
|
]))
|
||||||
# Modern shell utilities
|
# Modern shell utilities
|
||||||
eza # ls replacement
|
eza # ls replacement
|
||||||
ripgrep # rg — fast grep
|
ripgrep # rg — fast grep
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ fi
|
|||||||
|
|
||||||
echo "❄️ Verifying NixOS flake & sandbox checks..."
|
echo "❄️ Verifying NixOS flake & sandbox checks..."
|
||||||
nix flake check
|
nix flake check
|
||||||
|
nix eval .#nixosConfigurations.server.config.system.build.toplevel.drvPath --json >/dev/null
|
||||||
|
|
||||||
echo "✨ All tests and architectural invariants passed successfully!"
|
echo "✨ All tests and architectural invariants passed successfully!"
|
||||||
Reference in new issue
Block a user