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

Activation fails because of jq args #45

Open
tboerger opened this issue Jul 2, 2024 · 3 comments
Open

Activation fails because of jq args #45

tboerger opened this issue Jul 2, 2024 · 3 comments

Comments

@tboerger
Copy link

tboerger commented Jul 2, 2024

Looks like te activation fails with recent versions of nix/nixpkgs as jq doesn't offer the argument argfile anymore:

× home-manager-thomas.service - Home Manager environment for thomas
     Loaded: loaded (/etc/systemd/system/home-manager-thomas.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-07-01 22:21:59 CEST; 2min 6s ago
    Process: 57630 ExecStart=/nix/store/cv17kn1r2d7im3bjkj4qca1ig0myn3s2-hm-setup-env /nix/store/9zfm91hda4fxsl5rnr91vbnhcr2pz9j2-home-manager-generation (code=exited, status=2)
   Main PID: 57630 (code=exited, status=2)
         IP: 0B in, 0B out
        CPU: 1.633s

Jul 01 22:21:59 chnum hm-activate-thomas[57630]: Activating writeBoundary
Jul 01 22:21:59 chnum hm-activate-thomas[57630]: Activating createGpgHomedir
Jul 01 22:21:59 chnum hm-activate-thomas[57630]: Activating homeageCleanup
Jul 01 22:21:59 chnum hm-activate-thomas[58525]: /nix/store/43x59xa6fidzd9jys7jvhv66bjfjm4cp-jq-1.7.1-bin/bin/jq: Unknown option --argfile
Jul 01 22:21:59 chnum hm-activate-thomas[58525]: Use /nix/store/43x59xa6fidzd9jys7jvhv66bjfjm4cp-jq-1.7.1-bin/bin/jq --help for help with command-line options,
Jul 01 22:21:59 chnum hm-activate-thomas[58525]: or see the jq manpage, or online docs  at https://jqlang.github.io/jq
Jul 01 22:21:59 chnum systemd[1]: home-manager-thomas.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 01 22:21:59 chnum systemd[1]: home-manager-thomas.service: Failed with result 'exit-code'.
Jul 01 22:21:59 chnum systemd[1]: Failed to start Home Manager environment for thomas.

Looking at the commit history I guess this project is not really maintained anymore?

@derekcrovo
Copy link

derekcrovo commented Dec 10, 2024

I hit this issue as well. Check out #43, it worked for me. There's some question about how well the change handles arrays. It might need a little more work but so far so good.
We just need that PR merged. Any chance of that happening soon @jordanisaacs ?

@tboerger
Copy link
Author

You don't need to use homeage anymore... There is a homemanager module part of agenix these days. I have migrated my repo to that.

@derekcrovo
Copy link

Thanks @tboerger, I didn't realize that! I'll go take a look. It would be a good note to put in the README.

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