-
Notifications
You must be signed in to change notification settings - Fork 19
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
--stdin: command not found on v0.6 darwin #35
Comments
I changed to 0.5 and it worked again, I think this line leads to the problem on my machine, any input? zsh-nix-shell/nix-shell.plugin.zsh Line 64 in 1834762
|
Same here. I am on ARM darwin. Running |
|
oh yeah, I figured as I don't see temp nix-shell, I changed to that |
So, 0.6 is broken on darwin because there is no Would it make sense to simply do |
This plugin is developed primarily for use in NixOs. In NixOs you don't have to expose your shell through |
@howarddo2208 @gshpychka does |
No, it prints "-zsh" on my machine. |
An if you use bsd style arguments? |
That doesn't work: How's this:
|
I pushed an potential fix to master. Let me know if that fixes your this issue. If it does, I'll create a new release |
Hm, no, same error. I guess the detection logic isn't working as expected? |
With the help of a friends Mac I debugged parts of the script. Does the current version on master work now? |
yeah, it works now, thank you! |
Issue description
I'm trying this plugin out, but ran to an issue upon running
nix-shell
Output:
/private/tmp/nix-shell-20000-0/rc: line 4: --stdin: command not found
I tried to find the file, it doesn't exist
Did you install the plugin according to the installation guide? If not, does the issue persist if you do install it that way?
Yes, at first, my installation was with zsh-zap, but after that, I changed to plain zsh but still doesn't work
Steps to reproduce
shell.nix
in a project, i.enix-shell
Technical details
Please run the following commands and paste the results:
command nix-shell -p nix-info --run "nix-info -m"
zsh --version
zsh 5.9 (x86_64-apple-darwin22.4.0)
The text was updated successfully, but these errors were encountered: