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

nix installation fails #443

Closed
mmngreco opened this issue Sep 24, 2021 · 3 comments · Fixed by #444
Closed

nix installation fails #443

mmngreco opened this issue Sep 24, 2021 · 3 comments · Fixed by #444

Comments

@mmngreco
Copy link

Hi there,

I was trying to install twterm using nix as recommended but I could't make it works (I'm not familiarized with nix).

$ nix-channel --add https://github.com/ryota-ka/twterm/archive/master.tar.gz
$ nix-env -iA twterm
error: attribute 'twterm' in selection path 'twterm' not found
@ryota-ka
Copy link
Owner

Hi @mmngreco, could you try $ nix-channel --update before nix-env -i?

@mmngreco
Copy link
Author

mmngreco commented Oct 8, 2021

Hi, sorry for delay:

Doesn't seems to work neither. Here's my log:

~ (10:44|0s) $ nix-channel --update
these derivations will be built:
  /nix/store/q3sbhgbydsa56lflkr1k8hn49ha3wv63-master.tar.gz.drv
building '/nix/store/q3sbhgbydsa56lflkr1k8hn49ha3wv63-master.tar.gz.drv'...
unpacking channels...
created 2 symlinks in user environment
~ (10:45|7s) $ nix-env -iA twterm
error: attribute 'twterm' in selection path 'twterm' not found

~ (10:45|0s) $ nix-channel --add https://github.com/ryota-ka/twterm/archive/master.tar.gz
~ (10:46|0s) $ nix-channel --update                                                      
unpacking channels...
~ (10:46|1s) $ nix-env -iA twterm                                                        
error: attribute 'twterm' in selection path 'twterm' not found

@ryota-ka
Copy link
Owner

ryota-ka commented Oct 8, 2021

Thank you @mmngreco, I'll check it out later.

While Nix installation is recommended (as it also resolves and installs all the requirements such as the runtime and the dynamic libraries at the same time), twterm is also available via Homebrew tap.
If you are familiar with it and still having a trouble with Nix, please try using Homebrew.
Sorry for inconvenience.

ryota-ka added a commit that referenced this issue Dec 4, 2021
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 a pull request may close this issue.

2 participants