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

tomb doesn't work with bash shell #57986

Closed
bricewge opened this issue Mar 20, 2019 · 3 comments
Closed

tomb doesn't work with bash shell #57986

bricewge opened this issue Mar 20, 2019 · 3 comments

Comments

@bricewge
Copy link
Contributor

Issue description

tomb doesn't work under bash shell but it does with zsh andI don't understand the cause of it. I was working on #57946 when I encountered this.

Steps to reproduce

  1. Start a bash sell with nix-shell --pure -p tomb zsh or env -i bash --noprofile --norc
  2. Run tomb -h, it returns:
tomb [E] Missing required dependency pinentry.  Please install it.

  1. Start a zsh shell in the same nix-shell
  2. tomb -h now correctly return it's usage

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.28, NixOS, 18.09.2360.8751edf7b84 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.3`
 - channels(root): `"nixos-18.09.2360.8751edf7b84, nixos-hardware, nixpkgs-unstable-19.03pre169106.1a88aa9e0cd"`
 - channels(bricewge): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
@Mic92
Copy link
Member

Mic92 commented Mar 21, 2019

Does adding the pinentry package help?

@bricewge
Copy link
Contributor Author

Unfortunately no. You can try it yourself with nix-shell --pure -p tomb pinentry --command "tomb -h"

@bricewge
Copy link
Contributor Author

bricewge commented Apr 2, 2019

I don't think is still relevant any more, I have updated the PR with an install check which work.

So it seems that the issue only manifest itself when using nix-shell.

@bricewge bricewge closed this as completed Apr 2, 2019
@ArdaXi ArdaXi mentioned this issue Apr 12, 2019
10 tasks
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