Skip to content

Remove FHS dependency by replacing /bin/bash with /usr/bin/env bash#5828

Merged
widlarizer merged 3 commits into
mainfrom
emil/bash-no-fhs
Apr 23, 2026
Merged

Remove FHS dependency by replacing /bin/bash with /usr/bin/env bash#5828
widlarizer merged 3 commits into
mainfrom
emil/bash-no-fhs

Conversation

@widlarizer
Copy link
Copy Markdown
Collaborator

@widlarizer widlarizer commented Apr 22, 2026

Fixes #5768 on nixOS particularly due to tests/aiger/generate_mk.py, verified locally on nixOS

Copy link
Copy Markdown
Member

@mmicko mmicko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are at it, there are actually 3 more files that needs updating techlibs/sf2/NOTES.txt, libs/minisat/00_UPDATE.sh and libs/fst/00_UPDATE.sh

@widlarizer
Copy link
Copy Markdown
Collaborator Author

hmm, I'm pretty sure /bin/sh can be relied on as much as /usr/bin/env

@widlarizer
Copy link
Copy Markdown
Collaborator Author

I've asked for feedback elsewhere and asking env is supposedly proper for sh as well since that can/is overridden

@whitequark
Copy link
Copy Markdown
Member

hmm, I'm pretty sure /bin/sh can be relied on as much as /usr/bin/env

I think it might not be: NixOS/nix#6081

@widlarizer widlarizer added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit 2dc69a7 Apr 23, 2026
30 checks passed
@widlarizer widlarizer deleted the emil/bash-no-fhs branch April 23, 2026 17:41
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