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

libguile-ssh should be installed as an extension #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aconchillo
Copy link
Contributor

@aconchillo aconchillo commented May 11, 2022

This came up in a new Apple M1 where Homebrew is installed in /opt/homebrew instead of /usr/local as Apple intel's. libguile-ssh should actually be installed as an extension (as other extensions). This way GUILE_SYSTEM_EXTENSIONS_PATH can be used.

@aconchillo
Copy link
Contributor Author

@artyom-poptsov ping

@artyom-poptsov
Copy link
Owner

Hello.

Thank you for the patch.

I rebased your changes on top of the master branch. make -j$(nproc) distcheck works fine, but when I try to guix build -f ./guix.scm, I get the following error.
guile-ssh-build.log

avp

@aconchillo
Copy link
Contributor Author

Oh, so sorry I missed your message somehow. Yeah...I think the issue is that the extension is installed in

   /gnu/store/2s8q7mirdzr6sllb2cpidxhlhrvb77fm-guile-ssh-git/lib/guile/3.0/extensions

I'm not sure how guix solves this (not sure if it create symbolic links). But probably that path is not in GUILE_EXTENSIONS_PATH. I need to find some time to check this.

@Hellseher
Copy link
Contributor

@aconchillo May you share brew's formula of the guile-ssh package? This issue
can be solved on the package side instead of library.

Guix uses isolated build with symlink to all dependencies as read only location
in /gnu/store the same mechanics are in use in NixOS.

@aconchillo
Copy link
Contributor Author

@aconchillo May you share brew's formula of the guile-ssh package? This issue can be solved on the package side instead of library.

Sorry! Completely missed this. Yes, that's what I ended up doing. This is it:

https://github.com/aconchillo/homebrew-guile/blob/main/Formula/guile-ssh.rb

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

Successfully merging this pull request may close these issues.

3 participants