Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in darwin module #666

Closed
dudeofawesome opened this issue Nov 17, 2024 · 1 comment
Closed

Regression in darwin module #666

dudeofawesome opened this issue Nov 17, 2024 · 1 comment

Comments

@dudeofawesome
Copy link

With the latest commit (eee831a), I'm now getting a near immediate failure to evaluate my expression:

❯ darwin-rebuild switch --flake ~/git/dudeofawesome/nix-config#$hostname --show-trace
warning: Git tree '/Users/dudeofawesome/git/dudeofawesome/nix-config' is dirty
building the system configuration...
warning: Git tree '/Users/dudeofawesome/git/dudeofawesome/nix-config' is dirty
error: builder for '/nix/store/3wb7fbhyk0l31xcg9jbczn6sf2gb7fac-manifest-for-users.json.drv' failed with exit code 1;
       last 1 log lines:
       > /nix/store/yyq0pd7531fsz4iql9n2nld49yk9gak0-sops-install-secrets-0.0.1/bin/sops-install-secrets: failed to parse manifest: json: cannot unmarshal object into Go struct field manifest.templates of type []main.template
       For full logs, run 'nix log /nix/store/3wb7fbhyk0l31xcg9jbczn6sf2gb7fac-manifest-for-users.json.drv'.
error: 1 dependencies of derivation '/nix/store/79l7njcnqmn8gp6p9ckyhmwxzf3az4m8-darwin-system-24.11.20241029.807e915+darwin4.b379bd4.drv' failed to build

Reverting to the prior commit (47fc1d8) fixes it.

@Mic92
Copy link
Owner

Mic92 commented Nov 17, 2024

Definitely needs a test. Fixed in #669

@Mic92 Mic92 closed this as completed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants