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

HM activation script cannot find jq #36

Open
spikespaz opened this issue Oct 10, 2022 · 3 comments
Open

HM activation script cannot find jq #36

spikespaz opened this issue Oct 10, 2022 · 3 comments

Comments

@spikespaz
Copy link
Contributor

What I see:

Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating homeageDecryptCheck
Enter passphrase for "/home/jacob/.ssh/id_ed25519":
Activating writeBoundary
Activating linkGeneration
Cleaning up orphan links from /home/jacob
Creating profile generation 1235
Creating home file links in /home/jacob
Activating createXdgUserDirectories
Activating installPackages
replacing old 'home-manager-path'
installing 'home-manager-path'
Activating dconfSettings
Activating homeageCleanup
/nix/store/indhsz7vhjnfdj8kb6hnsrsbq8rmxmgj-home-manager-generation/activate: line 279: jq: command not found

The problem:
https://gist.github.com/spikespaz/ef2cfe46f4e3978e599ac76a6bbebf9d#file-activate-sh-L279

Source:
https://github.com/jordanisaacs/homeage/blob/main/module/default.nix#L141

I am not sure what needs to be done to add jq to the dependencies of the activation script.

@budimanjojo
Copy link

Just tried homeage and got the same issue. The workaround for me is to install jq but hopefully the PR above can be merged soon :)

@spikespaz
Copy link
Contributor Author

Just tried homeage and got the same issue. The workaround for me is to install jq but hopefully the PR above can be merged soon :)

Meanwhile you can change your flake input to point at github:spikespaz/homeage. Subscribe to notifications for my PR and change input back to upstream when you see it's been merged.

@budimanjojo
Copy link

Just tried homeage and got the same issue. The workaround for me is to install jq but hopefully the PR above can be merged soon :)

Meanwhile you can change your flake input to point at github:spikespaz/homeage. Subscribe to notifications for my PR and change input back to upstream when you see it's been merged.

Good idea! Thanks!

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