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

bash builtins not working #25746

Closed
armijnhemel opened this issue May 12, 2017 · 4 comments
Closed

bash builtins not working #25746

armijnhemel opened this issue May 12, 2017 · 4 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@armijnhemel
Copy link
Contributor

armijnhemel commented May 12, 2017

Issue description

On my Fedora 25:

$ /nix/store/wsz11sx18n85if6gp50m870rypgavwpd-bash-4.4-p12/bin/bash
bash: shopt: progcomp: invalid shell option name
bash: shopt: progcomp: invalid shell option name

None of the other built-ins seem to work either, which wreaks havoc in some build scripts that require the bash builtins (for example: neo4j).

This might be related to NixOS/nix#730

Steps to reproduce

  1. install Fedora 25
  2. install something in nixpkgs (example: using nix-build).
  3. directly start the shell from the nix store, as above

Technical details

LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 25 (Twenty Five)
Release: 25
Codename: TwentyFive

@armijnhemel
Copy link
Contributor Author

@JohnAZoidberg
Copy link
Member

Is this still a problem? For me, at least on NixOS, bash when called by its nix-store path seems to work fine.
Can someone on a non-NixOS please test this?

@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@Atemu Atemu closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2022
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/non-interactive-bash-errors-from-flake-nix-mkshell/33310/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

4 participants