Skip to content

fix hardcoded path test on nixos#1810

Merged
Sebastian Thiel (Byron) merged 1 commit into
GitoxideLabs:mainfrom
bryceberger:bryce/push-oqkslowuuqyz
Jan 26, 2025
Merged

fix hardcoded path test on nixos#1810
Sebastian Thiel (Byron) merged 1 commit into
GitoxideLabs:mainfrom
bryceberger:bryce/push-oqkslowuuqyz

Conversation

@bryceberger

Copy link
Copy Markdown
Contributor

nixos provides the following contents in /bin and /usr/bin:

/bin:
sh

/usr/bin:
env

That's it. From what I know, every linux distribution, as well as macos, has /usr/bin/env

nixos provides the following contents in `/bin` and `/usr/bin`:

    /bin:
    sh

    /usr/bin:
    env

That's it. From what I know, every linux distribution, as well as macos,
has `/usr/bin/env`

@Byron Sebastian Thiel (Byron) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot, much appreciated!
I will try to remember that /bin/sh and /usr/bin/env are the only posix-paths one can assume exist.

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.

2 participants